This project is archived and is in readonly mode.
Js.erb templates broken in 2.3.0 RC1?
-
zeno
hmmm, some "evolutions": it seems to work if I specify render :layout => false :
def create … respond_to do |format| format.js { render :layout => false } end end -
josh
- Assigned user set to josh
- State changed from new to duplicate
- Milestone cleared.
I believe this issue already came up and was fixed on master. If you could please try again on edge and let me know if your still having any problems.
-
zeno
Joshua, I'd like to try it on edge, but I can't even start mongrel with the latest revision (9702636a08e50e9fed9bf76ad620a6a0a109009e) because of a cookie_store/session error...
Apparently other users have the same issue (see Thibaud's comment here: #2001 Rails 2.3 does not obey config.action_controller.session_store )
-
josh
- State changed from duplicate to open
-
josh
Sorry, that issue was just fixed. Please try once again.
-
zeno
Thanks Joshua,
I could finally test this issue (js.erb templates) with the latest edge revision, and yes, I confirm it has been fixed: js.erb templates are working great out-of-the-box
thanks z
-
josh
- State changed from open to resolved
-
ben
- Tag changed from 2.3-rc1, javascript, render, template to javascript, render, template
- Assigned user cleared.
sorry if it is out of topic,
but still, found out through those comments how to but,
working currently with 2.3.4 rails version and jquery,
had to put the render :layout => false in the format.js
to make my .js.erb templates working (and took forever to get this page to be noticed... ;) ).