[Rails] Rails reading from wrong assets folder

2012-02-12 Thread Peter Klein
Hi, I'm having some trouble with the rails on my webhost. Something went wrong when switching from 3.0 to 3.1 and configuring the assets pipeline. Been following the guide: http://guides.rubyonrails.org/asset_pipeline.html#upgrading-from-old-versions-of-rails But it didn't do the trick. The weird

[Rails] Accessing js from controller

2012-01-05 Thread Peter Klein
Hi! I've been struggling with a ajax/jquery html fraction update for a couple of days now, can't seem to get my head around it. I can't get my update.js.erb file to run, this is how my relevant files look like: The view: <%= link_to 'Link', {:action => 'update'