28 May '12, 6pm

ClassMethods#validate - Accepted parameters for validate #rails

Adds a validation method or block to the class. This is useful when overriding the validate instance method becomes too unwieldy and you’re looking for more descriptive declaration of your validations.

Full article: http://apidock.com/rails/ActiveModel/Validations/ClassMet...

Tweets

Bookmarked: "Layouts and Rendering in Rails"

guides.rubyonrails.org 27 May '12, 6pm

To find the current layout, Rails first looks for a file in app/views/layouts with the same base name as the controller. F...

@maryloulenhart what about them?

guides.rubyonrails.org 27 May '12, 5pm

Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to wr...