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

Rails does not support const_defined? in development mode #615

Merged
merged 1 commit into from
Aug 27, 2014
Merged

Rails does not support const_defined? in development mode #615

merged 1 commit into from
Aug 27, 2014

Conversation

tpitale
Copy link
Contributor

@tpitale tpitale commented Aug 27, 2014

Use const_get instead, and rescue NameError

Use const_get instead, and rescue NameError
steveklabnik added a commit that referenced this pull request Aug 27, 2014
Rails does not support const_defined? in development mode
@steveklabnik steveklabnik merged commit f29e78f into rails-api:master Aug 27, 2014
@steveklabnik
Copy link
Contributor

thank you!

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