Profile
Achievement
smoothdzion's Recent SnippetsTagged ruby
- All /
« Prev 1 Next »
Regular menu item adding current class if current url equal menu item destination.
1
938
posted 14 years ago by smoothdzion
I needed to copy the value of one field to a couple of others in case users decided to forget to fill them out. Using jQuery and added it to a helper because I was using in multiple places. Created variables to make it more readable.
1
771
posted 14 years ago by smoothdzion
The code to find all objects from a model and use them as select options.
1
933
posted 15 years ago by smoothdzion
For separating a list of categories with a comma that are linked. There may be a better way. Leave a comment if you have a better way. This was the first way I found that worked.
This code increments the count 1 at a time. It applies the incre...
1
698
posted 15 years ago by smoothdzion
Used to create checkboxes to select multiple categories for a post or any other type of applicable situation.
1
666
posted 15 years ago by smoothdzion