RailsCasts Pro episodes are now free!

Learn more or hide this

Owen Sims's Profile

GitHub User: owensims1

Comments by Owen Sims


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

Removing the brackets makes it work.


Has anyone figure this out?

For example, in my app I have a genre field, and if, say "Punk Rock" is already an option, and someone wants to just add "Punk", "Punk Rock" shows up in the dropdown and there is no option to add just "Punk".

Seems that If you want to add anything that is already included in another name you won't be able to.


Is there any way to only call activities which have an owner in the controller as opposed to the view?