Question from the Rails 3 Legacy test
Write a Ruby controller that displays a user in JSON.
Hard
Suppose the controller below. I call the create action in JSON by passing user parameters, the save succeeds.
What happens next?
Author: InconnuStatus: PublishedQuestion passed 9 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
0
Create a new Ruby on Rails application0
What are the columns of the users table in Ruby on Rails?0
Create a user in Ruby0
What is the superclass of a model in Ruby on Rails?0
Execute Ruby code without displaying it.0
How to add a comments association to a model in Ruby on Rails0
Create a model in Ruby on Rails