forked from DavyJonesLocker/postgres_ext-serializers
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update to AMS 0.10 #1
Comments
brenes
added a commit
that referenced
this issue
Feb 24, 2016
brenes
added a commit
that referenced
this issue
Feb 24, 2016
brenes
added a commit
that referenced
this issue
Feb 24, 2016
Right now it returns JSON information for a not nested has_many relationship, although it doesn't respect the fields being serialized from the serializer
brenes
added a commit
that referenced
this issue
Feb 24, 2016
brenes
added a commit
that referenced
this issue
Feb 24, 2016
If the atttribute is detected as translated through globalize we include the current translation and query the translation table
brenes
added a commit
that referenced
this issue
Feb 24, 2016
We change the override method so we can do something like `ActiveModel::SerializableResource.new(Country.all, each_serializer: CountrySerializer).to_json` This way we can serialize a collection or a resource with a has_many
brenes
added a commit
that referenced
this issue
Feb 24, 2016
Right now we are building the query BUT it's not being correctly stored so it's later processed by AREL. Main reason is that AREL, after performing a join doesn't store that join, but if we assign it then is no longer an Arel::Table...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update to the current version of AMS (0.10.0.rc4 right now)
The text was updated successfully, but these errors were encountered: