RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: m4tthumphrey
Site: http://matthumphrey.co.uk
Nice cast. I actually had a need for this kind of relation but did it using an EAV style set up rather than serialised arrays.
I believe jQuery is clever enough to work out that it's JSON anyway.
I'm new to Rails, and I'm having trouble figuring out how the logout link, session_path("current"), is routing to the destroy method in the controller?
session_path("current")
destroy
Nice cast. I actually had a need for this kind of relation but did it using an EAV style set up rather than serialised arrays.
I believe jQuery is clever enough to work out that it's JSON anyway.
I'm new to Rails, and I'm having trouble figuring out how the logout link,
session_path("current")
, is routing to thedestroy
method in the controller?