Beginning with Rails 3.2.3, when calling render :partial (only works outside of the respond_to
block).
render formats: [ :html ]
instead of
render format: 'html'
More Related Contents:
- How do I extract Rails view helpers into a gem?
- Multiple objects in a Rails form
- ActiveRecord Query Union
- Altering the primary key in Rails to be a string
- How to get Twitter-Bootstrap navigation to show active link?
- Deprecated warning for Rails 4 has_many with order
- Float vs Decimal in ActiveRecord
- Heroku deployment failed because of sqlite3 gem error
- Error installing Nokogiri 1.5.0 with rails 3.1.0 and ubuntu
- How do I “activate” a different version of a particular gem?
- A migration to add unique constraint to a combination of columns
- POST JSON to API using Rails and HTTParty
- Devise update user without password
- Purge or recreate a Ruby on Rails database
- libffi.so.6: cannot open shared object file in rails
- 400 Bad Request – request header or cookie too large
- Rails + Postgres drop error: database is being accessed by other users
- Haml: Control whitespace around text
- Ruby on Rails 3 – Reload lib directory for each request
- How to change a Ruby on Rails application name?
- Rails: “Next post” and “Previous post” links in my show view, how to?
- How to configure Log4r with Rails 3.0.x?
- How can I redirect a user’s home (root) path based on their role using Devise?
- Ruby: Create range of dates
- How can I use Rails routes to redirect from one domain to another?
- Errors of pushing rails app to Heroku error occurred while installing sqlite3, and Bundler cannot continue [duplicate]
- rails many to many self join
- How do I add some inserts in rails migration?
- Rails 3 SSL routing redirects from https to http
- Unable to install MySQL2 gem on Windows 7