Member since 05/15/2010

3 snippets

781 profile views

0 Comment(s) Posted

View their favorites

their Tags



first submission:submitting first snipplet

gmericksen's Recent SnippetsTagged rails

« Prev 1 Next »
If each title is unique and you need alphabetical, try this in your Post model. You can change title to any unique attribute (created_at, id, etc.) if you need a different sort order.
0 578 posted 12 years ago by gmericksen
This will require a user to log back in if they are inactive for more than 10 minutes. In order for this feature to be used you must have a last_request_at datetime column in your table for whatever model you are authenticating with.
0 650 posted 12 years ago by gmericksen
0 430 posted 13 years ago by gmericksen
« Prev 1 Next »