1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

10 commits

Author SHA1 Message Date
geemus
b60bdd37da fix another edge case for reload bug 2010-11-18 15:07:51 -08:00
geemus
e25afbd284 [core] fixes attributes memoization 2010-11-17 17:25:47 -08:00
Paul Thornthwaite
524a30918d [patch] When an attribute is an empty string, do not try and parse (and get current time)
* Spec to support handling empty strings when attribute is set to time.
2010-11-16 11:11:53 -08:00
Paul Thornthwaite
d299ae1579 [patch] Change Model#attribute's :squash options to accept a String as well as a Symbol
* Spec to test "squashed" value patch
2010-11-16 11:11:52 -08:00
geemus
ff2af54c28 fix for the backwards compat stuff to work with ruby 1.9+ 2010-11-03 17:32:06 -07:00
geemus
defbbecddc fix attributes to work with private methods 2010-10-28 13:13:51 -07:00
geemus
5fddabd891 more universal attribute handling 2010-10-28 10:55:35 -07:00
geemus
c8821907bb attributes should compare against the symbol key, rather than string 2010-10-28 10:49:27 -07:00
geemus
3c8e45ec15 better behaved models for undefined attributes
only effects merge_attributes (and therefore initialize)
for any non-attributes (except collection/connection),
values just get trown into model#attributes,
but won't show up as accessors or in inspect, etc.
Results in no errors, but implies that the attributes SHOULD be added.
2010-10-27 16:16:22 -07:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
Renamed from lib/fog/attributes.rb (Browse further)