Parent

Methods

Class/Module Index [+]

Quicksearch

ActiveModel::Validations::PresenceValidator

Public Instance Methods

validate(record) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activemodel-3.0.9/lib/active_model/validations/presence.rb, line 8
def validate(record)
  record.errors.add_on_blank(attributes, options)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.