Method: Rails::Generators::ActiveModel#errors

Defined in:
railties/lib/rails/generators/active_model.rb

#errorsObject

POST create PATCH/PUT update



70
71
72
# File 'railties/lib/rails/generators/active_model.rb', line 70

def errors
  "#{name}.errors"
end