RailsCasts Pro episodes are now free!

Learn more or hide this

Joey Lapetina's Profile

GitHub User: JoeyLapetina

Comments by Joey Lapetina

Avatar

I have an issue where the form is sending nil when it has found a match for the query.

anyone know what up wit dat?

My needs are a little different than the video. I want a field where I can put in the name of a book. It does the index jason search and has a tokenLimit of 1. If the book is not found - it makes a new book. If the book is found I want the controller to direct me to the book that already exists show page. For some reason right now if the book is found it sends an empty name parameter to the controller and I cant figure out why.