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

Administrate integration #90

Merged
merged 1 commit into from Mar 7, 2016

Conversation

2 participants
@mgrachev

mgrachev commented Mar 6, 2016

Hi. To integrate with gem administrate, it is necessary to Setting.new.value return nil, otherwise we get this error:

TypeError - no implicit conversion of nil into String:
  /usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/psych.rb:370:in `parse_stream'
  /usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/psych.rb:318:in `parse'
  /usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/psych.rb:245:in `load'
  rails-settings-cached (0.5.2) lib/rails-settings/settings.rb:19:in `value'

huacnlee added a commit that referenced this pull request Mar 7, 2016

@huacnlee huacnlee merged commit 288e5a6 into huacnlee:master Mar 7, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@mgrachev mgrachev deleted the mgrachev:administrate-integration branch Mar 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment