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

RailsSettings::Base setting logic update #76

Conversation

malachaifrazier
Copy link

  1. Added 'elsif !self.persisted?' to 'RailsSettings::Base#settings=' to simply 'return'.
  2. Originally, I was getting an 'ArgumentError' every time I tried to create something via a controller action.
  3. Added .rspec file for prettier rspec output
  4. Closes Question: raise ArgumentError Question: raise ArgumentError #75

1. Added 'elsif !self.persisted?' to 'RailsSettings::Base#settings=' to simply 'return'.
2. Originally, I was getting an 'ArgumentError' every time I tried to create something via a controller action.
@malachaifrazier malachaifrazier changed the title feat(RailsSettings::Base): RailsSettings::Base setting logic update Jul 13, 2016
@coveralls
Copy link

coveralls commented Jul 13, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 33dbc2e on malachaifrazier:MF-RailsSettings-Base-settings into ac511ba on ledermann:master.

@ledermann
Copy link
Owner

Hm, I don't understand why this PR is needed. What did you do in your controller action? Please see my answer in #75, maybe you should change your application code.

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

3 participants