Chris Griego
Chris Griego
Title says it all.
If the last line of a JavaScript file is a comment, bundle_fu fails to generate the cache file and throws an obscure exception. Exception message: comparison of Fixnum with String...
Make the typecaster hash private, and expose a way to register typecasters.
attributes=, logger=, ==, === should all be protected by default.
Actionpack's FormHelper depends on particular methods being present to work with nested/association attributes.
Time zone support is opt-in with ActiveRecord using `time_zone_aware_attributes`. `TimeTypecaster` will skip time zone conversion, `TimeWithZoneTypecaster` will not. Conversion in ActiveRecord uses the current `Time.zone`.
Handle ActionPack's multi-parameter params for complex attributes that come from date fields and such.
Models have associations with other models, and attributes don't cover this case very well (especially when initializing a model with a deeply nested hash).
Cast the value to an Array with an optional, configurable typecaster for the values.