RailsCasts Pro episodes are now free!

Learn more or hide this

Mastermike's Profile

GitHub User: mastermike14

Comments by Mastermike

Avatar

Does anyone know how to add the new
to the results when token input can find something? I tried just doing

authors
authors << [{id: "<<<#{query}>>>", name: "New: \"#{query}\""}]

but for some reason that throws out an error. Firebug tells me the error is 'value undefined' and the token input drop down list disappears. I just don't get it. If the authors is empty it will return the new field just fine but if it finds any results it does not like the new added in.

Avatar

hey, i accidentially broke your site. Also your tagging system is stuck at "please enter 1 more characters"[sic]