Rails Named Routes in Javascript

Location: D133 Level: Novice

Moderated by Steven Bristol, Less Everything

The horribly named Less Js Routes plugin generates (based on your routes file) all the Javascript needed to easily get the url of your controller/action/id/paramters/verb. But it gets better: with one function you can execute and return the server call via ajax. But it gets better: if you use the formate for json, rather than a string, a json object will be returned to you. But it gets better: rather that just get the ajax results as a string or json, you can instead automatically execute the javascript that is returned.

Does it work with Protoype? Yes
Does it work with jQuery? Yes.
Will it make you start to fall in love with Javascript? Hells yes.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@ oreilly.com.

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

Contact Us

View a complete list of RailsConf 2008 contacts.