RubyStarters / QandA

place your questions as issues and we will try to answer...
1 stars 0 forks source link

What is this MVC model that is used in Rails documentations? #5

Open rowalth opened 9 years ago

haslinger commented 9 years ago

MVC is a software architecture pattern, that is heavily embraced by Ruby on Rails. It stands for Model - View - Controller.

<ul>
  <% @blogposts.each do |blogpost| %>
    <li><%= blogpost.title %></li>
  <% end %>
</ul>