Hi Alan,

I did some research and was able to get auto_complete working with  
Heroku pretty easily. However, there does currently seem to be an  
issue with the auto_complete plugin not being aware of Rails 2's  
cross-site request forgery protection. This means the plugin won't  
work out of the box on Rails 2 because it expects forms to pass in  
the generated authenticity token. I applied the patch outlined in  
this thread to make auto_complete behave, and then things worked out  
just fine. If you want, I'd be happy to tar up my little test app and  
send it to you. Just email me privately.

As far as the issue you describe with your local git checkout, it  
sounds like you need to "git add vendor". Once you done that, commit  
and push. Then your vendor dir should be pushed to Heroku.

Best,

/Morten


On Jun 3, 2008, at 4:11 AM, alan.szlosek wrote:

>
> I'm still getting:
>
> undefined method `auto_complete_for' for FrontendController:Class
>
> Can you give us an update on the status of this issue?
>
> I was hoping that installing the plugin on my local git checkout would
> be a workaround for the solution, but when I "git push" it seems to
> ignore my plugins folder on the heroku side.
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to