Top "Actioncontroller" questions

ActionController is the main controller class in Ruby on Rails.

One controller, different views for normal users and admins

in my application, I have a "User" model. Each user can have multiple (email) addresses which are defined in the …

ruby-on-rails actionview actioncontroller
How to use Rails Action Controller Nested Params to Permit a Specific Attributes Hash

There are a lot of questions about Nested Parameters, but I can't seem to find one that addresses my specific, …

ruby-on-rails hash strong-parameters actioncontroller
Rails 4.2 ActionController:BadRequest custom error message

I want to return from my controller if either a validation failed or a parameter is missing with 400 - bad …

ruby-on-rails ruby ruby-on-rails-4 actioncontroller