Show More
Commit Description:
update errors.add_to_base("x") to Rails 3 errors.add(:base,"x")
Commit Description:
update errors.add_to_base("x") to Rails 3 errors.add(:base,"x")
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20081210021333_add_timestamps_to_users.rb
| 9 lines
| 155 B
| text/x-ruby
| RubyLexer
|
|
r158 | class AddTimestampsToUsers < ActiveRecord::Migration | ||
def self.up | ||||
add_timestamps :users | ||||
end | ||||
def self.down | ||||
remove_timestamps :users | ||||
end | ||||
end | ||||