Skip to content

Added compatibility to 'helper_method' - #10

Merged
carlosantoniodasilva merged 1 commit into
rails-api:masterfrom
educobuci:helper_method_compatibility
Apr 24, 2012
Merged

carlosantoniodasilva merged 1 commit into
rails-api:masterfrom
educobuci:helper_method_compatibility

Conversation

@educobuci

Copy link
Copy Markdown
Contributor

There are many gems that depend on the "helper_method" (like devise). This commit just add an stub for this method in ActionController::API::Compabitility module.

@carlosantoniodasilva

Copy link
Copy Markdown
Member

We actually added the compatibility module because we were unable to do the required changes straight in Rails, specially in 3.2 branch. I'm not sure it'll exist in the future, but for now your changes will do, for sure. Thanks.

ps: meanwhile I'll check Devise to avoid calling helper_method if it does not respond to it.

carlosantoniodasilva added a commit that referenced this pull request Apr 24, 2012
Added compatibility to 'helper_method'. Closes #6
@carlosantoniodasilva
carlosantoniodasilva merged commit 0ceb574 into rails-api:master Apr 24, 2012
j-wilkins pushed a commit to j-wilkins/rails-api that referenced this pull request Oct 23, 2014
…ility

Added compatibility to 'helper_method'. Closes rails-api#6
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