How to Troubleshoot Apps for the Modern Connected Worker
Â
Boston Computing Review - Ruby on Rails
1. BCR : Ruby on Rails an introduction more at http:// www.rubyonrails.org / John Brunswick
2.
3.
4.
5.
6.
7.
8. MVC in ROR View ShowUser.rhtml <html> … User Name <% = @user.name %> … </html> Controller Users_controller.rb … def ShowUser @user = User.find(params[ :id ]) end def other end def another end … Model user.rb class User < ActiveRecord::Base #relations has_many :posts #start validation here validates_presence_of :email, :username, :password validates_uniqueness_of :email, :username End