I'm stuck in the first step... - Add "cannot be blank" validation to the three fields...
Model validations aren't working at all... i've tried "validates_presence_of", "validate_on_create"... Aren't these methods called when I create a new instance of the User object? the 'respond' action (controllers/hello_controller.rb) does this: def respond @user = User.new(params[:user]) # <= This must create a new instance of the "User" object. ... end and the User (models/user.rb) is: class User < ActiveRecord::Base # Nothing works here! "validates_presence_of" or "def validate_on_create"... nothing! end ---------- Any clues? Thanks in advance, Gabriel. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
