Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use Object.const_get when defined rather than checking RUBY_VERSION #530
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This is only a problem in production, correct? Have you tried eager loading your serializers and disable auto load? (See http://edgeguides.rubyonrails.org/configuring.html#rails-general-configuration)