-
Notifications
You must be signed in to change notification settings - Fork 467
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 3.0.x: undefined method *heading*, issue with ActionDispatch::Reloader #251
Comments
Hi, I will be happy to review the patch |
I don't have a patch - sorry :) It just looks like your "heading(...)" helper isn't included and thus throws an unknown_method on each page. Since this is the only helper and it is trivial, I just included the method in my main ApplicationHelper, and now it seems to work. Still, I'd like to know why the apipie_helper.rb isn't being loaded. |
Also, for Rails 3.0 it is necessary to duplicate / monkey-patch Apipie::Application, eg. append to
|
🐛 This is an issue on: |
@iNecas this seems to have resolved the issue for my project. |
Using Rails 3.0.20 and Ruby 1.9.3, I get this error when trying to access the apipie index:
NoMethodError in Apipie/apipies#index
Showing .../ruby1.9/gems/1.9.1/gems/apipie-rails-0.1.3/app/views/apipie/apipies/_method_detail.erb where line #34 raised:
undefined method `heading' for #<#Class:0x007fabe6e27770:0x007fabe6ddc658>
Extracted source (around line #34):
If this is Rails-3.0 specific: I know that Rails 3.0 is deprecated, but if a fix is trivial (it's in a template, after all), can you provide a patch?
Thank you!
The text was updated successfully, but these errors were encountered: