1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib
Paul Thornthwaite bc09d7bbee [core] Adds #persisted? to Fog models
Fog models have been able to use #new_record? for years to use an
ActiveRecord like interface to check for peristence of a resource.

When Rails 3 switched to using ActiveModel API this changed to
be #persisted?

This deprecates #new_record? and adds #persisted? as the first little
step to making fog models easier to use using ActiveModel API.

As discussed on the tickes, ActiveModel is not planned to become a
direct dependency for fog.

Relates to #1276
2012-12-18 10:39:16 +00:00
..
fog [core] Adds #persisted? to Fog models 2012-12-18 10:39:16 +00:00
tasks [openstack] Fix Test 2012-12-05 14:45:37 +08:00
fog.rb [core] Splits Fog::VERSION into own file 2012-11-27 16:30:40 +00:00