gmericksen


Member since 05/15/2010

3 snippets

1194 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

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 843 posted 13 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 975 posted 13 years ago by gmericksen
0 711 posted 14 years ago by gmericksen
« Prev 1 Next »