Ruby on Rails Wednesday, January 15, 2020


Person.find("31-sarah") # returns the object for ID = 31
In your case, if you are using find, it should search for record with id = 18

El mié., 15 ene. 2020 a las 16:18, fugee ohu (<fugee279@gmail.com>) escribió:
Doesn't work for me in rails 6

  Parameters: {"id"=>"18-test-title"}
 ActionController::ActionControllerError (Cannot redirect to nil!):

Ne

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/64e66550-c393-43cd-8156-29c43139899a%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcA8PH7D9tzqAWTWLF0gK8vYUrO4G5xjJa3rgM41rxP-cw%40mail.gmail.com.

No comments:

Post a Comment