Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented opt-out feature for postgres json serialization #35

Closed
wants to merge 3 commits into from

Conversation

bemueller
Copy link

No need to define dumb coder in each project that is using activerecord-typedstore .

@@ -21,7 +21,11 @@ module ClassMethods
def typed_store(store_attribute, options={}, &block)
dsl = DSL.new(options.fetch(:accessors, true), &block)

serialize store_attribute, create_coder(store_attribute, dsl.columns).new(options[:coder])
unless options[:no_coder]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think coder: false would be better.

@byroot
Copy link
Owner

byroot commented Feb 10, 2016

Also could you update the tests please?

@bemueller
Copy link
Author

I couldn't get the tests running yesterday (sqlite3 gem is not working correctly). So I made a good guess...

@byroot byroot force-pushed the master branch 2 times, most recently from 0f4bbdc to f85e346 Compare February 11, 2016 14:55
@byroot
Copy link
Owner

byroot commented Feb 11, 2016

Master build was broken indeed :/ Sorry for that.

I rebased you branch on top of a fixed master: https://travis-ci.org/byroot/activerecord-typedstore/builds/108555062

Let's see.

@byroot
Copy link
Owner

byroot commented Feb 11, 2016

Ok, build is green, merged as ee3065f

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants