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 8 years ago

haslinger commented 8 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>