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.
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
seems to be giving an error because of how the flash notice is assigned. It goes away when switched to this:
Is this a typo or am I doing something else wrong?