-
Notifications
You must be signed in to change notification settings - Fork 336
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
View Helpers not Working in Rails 3.1 #147
Comments
Which version of rabl are you using? Try |
Does not work with 0.5.5.j either. |
Actually this is an issue related to the gon gem. Once I prevent passing the rabl json to gon it works fine. I'm looking into this further. |
Any update? Is this a rabl problem? |
Sorry for delay, I just released gon gem version 3.0.0 where I fixed this problem with including ActionView::Helpers into Rabl::Engine. I cloned repo of Rabl and ran specs with including this helpers - all specs passed except one, which not related to my changes, so I think I'm not affect any functionality of Rabl. |
OK, I am going to close this issue, thanks! |
I've got a setup like follows:
node do |i| { created: time_ago_in_words(i.created_at)} end
and am receiving the following error:
I am using the head version of Rabl.
Is there something more I have to do to include such type of view helpers?
The text was updated successfully, but these errors were encountered: