RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: asfarley
disposition: "inline" isn't working in Chrome for me. This appears to be somewhat of a known problem with Chrome, something related to Chrome not knowing the file type and deciding not to render it. It works fine in Firefox. Does anybody know a fix?
Update: removing the Mime configuration line seemed to fix this problem. This is using Rails 3.2.1.
Answer: this is an additional syntax available in Ruby 1.9.
In the users controller, the line
redirect_to root_url, notice: "Thank you for signing up!"
seems to be giving an error because of how the flash notice is assigned. It goes away when switched to this:
redirect_to root_url, :notice => "Thank you for signing up!"
Is this a typo or am I doing something else wrong?