Profile
Achievement
gmericksen's Recent SnippetsTagged rails
- All /
« 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
832
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
953
posted 13 years ago by gmericksen