Home Download Buy Blog Forum Support

Rails snippets

Rails snippets

Postby mvoronov on Wed Oct 26, 2011 5:46 pm

For example, if i want to create a new method I am writing: def+tab
Which snippets should I use so I can create <% %>, <%= %>, <%= link_to '', %> blocks?
And where can I read a list of most used snippets for Rails?

Posts: 1
Joined: Wed Oct 26, 2011 4:26 pm

Re: Rails snippets

Postby nobleach on Thu Oct 27, 2011 4:35 pm

Hey this one is a pretty good one. It mirrors the one that Ryan Bates uses on railscasts.com:


I added the Netbeans style creation of <%...%> and <%=...%> by adding new snippets.

Posts: 48
Joined: Thu Jun 23, 2011 4:14 pm

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 28 guests