Member since 11/04/2009

Name: Brandon Buttars


Location: Spanish Fork, UT


5 snippets

2197 profile views

5 Comment(s) Posted

View their favorites



first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

smoothdzion's Recent SnippetsTagged ruby

« Prev 1 Next »
Regular menu item adding current class if current url equal menu item destination.
1 630 posted 13 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 509 posted 13 years ago by smoothdzion
The code to find all objects from a model and use them as select options.
1 516 posted 13 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 451 posted 13 years ago by smoothdzion
Used to create checkboxes to select multiple categories for a post or any other type of applicable situation.
1 436 posted 13 years ago by smoothdzion
« Prev 1 Next »