Module: DataMapper::Resource
- Defined in:
- lib/dm-rails-gae.rb
Instance Method Summary collapse
-
#new_record? ⇒ Boolean
silence deprecation warnings.
-
#to_param ⇒ Object
avoid object references in URLs.
- #update_attributes(*args) ⇒ Object
Instance Method Details
#new_record? ⇒ Boolean
silence deprecation warnings
8 |
# File 'lib/dm-rails-gae.rb', line 8 def new_record?; new?; end |
#to_param ⇒ Object
avoid object references in URLs
6 |
# File 'lib/dm-rails-gae.rb', line 6 def to_param; id.to_s; end |
#update_attributes(*args) ⇒ Object
9 |
# File 'lib/dm-rails-gae.rb', line 9 def update_attributes(*args); update(*args); end |