Skip to content

Instantly share code, notes, and snippets.

@hemalich
Created January 19, 2011 10:12
Show Gist options
  • Select an option

  • Save hemalich/785954 to your computer and use it in GitHub Desktop.

Select an option

Save hemalich/785954 to your computer and use it in GitHub Desktop.
Translating ActiveRecord errors Item Model
class Item < ActiveRecord::Base
validates_presence_of :name
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment