You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disregard this issue. The only thing that needs to be updated is the documentation for build; initialize already provides the exact behavior I was looking for.
The Problem
The documentation says:
But both the code (line 768 of base.rb)
and the tests (line 669 of base_test.rb), say otherwise
Attributes is passed to new_element_path which uses them as prefix options not as attributes to override the defaults provided.
Possible Solutions
These are the two most viable solutions to me. There are others that just don't seem as great. Personally, I'm a fan of option 2.
I'd like to get some input before I modify the code, tests, and submit a pull request. Any suggestions?
The text was updated successfully, but these errors were encountered: