Chris Griego

Results 30 comments of Chris Griego

I encountered this error with Ruby 1.8

@dmgr Do you have an example use case for this? I'm trying to wrap my head around why this would be desirable, especially since this isn't something that I know...

@sankaranarayanan Can you share some example model code, how it behaves, and how you expect it to behave?

Which validations? Please share some example model code.

Thank you for the details, @sankaranarayanan.

Initial assessment was wrong. `time_zone_aware_attributes` is false by default in the class but enabled by default in the Railtie. The default_timezone option in ActiveRecord only accepts :utc and :local as...

The functionality for parsing this in ActiveRecord is hiding in Base, kicked off by assign_multiparameter_attributes.

This functionality depends on typecasting, or at least knowing the type of the attribute.

@Gaelan You should be able to use ActiveRecord's serialized columns/attributes to do this today. I'd be interested in hearing either way if it works or doesn't for you. ActiveAttr may...