Skip to content

Conversation

@y00rb
Copy link

@y00rb y00rb commented Mar 9, 2015

Hi Guys

  1. improve the generate embedded attributes(has_many relation).if the has_many value is blank, will make errors in embeded_params, such as TypeError: no implicit conversion of nil into Hash, NoMethodError: undefined method[]=' for nil:NilClass`, so I have add method to make default in inject, set blank hash.
  2. added has_one in to_params

if pass blank in embeded(has_many) will get error.
@y00rb
Copy link
Author

y00rb commented Mar 9, 2015

@remiprev Could you checkout it? if it is merge, I can used new version in my project

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.

2 participants