Profile
Achievement
gmericksen's Recent Snippets
- 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
862
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
996
posted 14 years ago by gmericksen