Chris Griego

Results 47 issues of Chris Griego

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.

Feature

attributes=, logger=, ==, === should all be protected by default.

Feature

Actionpack's FormHelper depends on particular methods being present to work with nested/association attributes.

Feature

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`.

Feature

Handle ActionPack's multi-parameter params for complex attributes that come from date fields and such.

Feature

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).

Feature

Cast the value to an Array with an optional, configurable typecaster for the values.

Feature