Rails: how do you access RESTful helpers?

You have several questions in there, most of which have already been answered by people below.

The answer to one that wasn’t fully addressed however, is: yes you can use the script/console to see where your routes go. Just type in app.[route_helper] and it will respond with the path. For example app.users_path will return /users/

So for your example type app.entries_url for the full URL – or app.entries_path for its relative path within the console.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)