Does anyone know how to make the custom login form remember login details? E.g. when I type my email but with an incorrect password it now forgets about the email address.
Just a small comment on the pruning of old searches. I think it's generally bad behaviour to remove old searches. People might link to it, expect it to remain, and boom, suddenly it's gone.
It's probably better to check if a specific search already exists before creation and redirect to it if need be.
Here's another tip: Foreman runs anywhere. I currently use it in a non-Rails folder to get it to start up 2 Rails apps that need to run at the same time. Example:
yaml
web: cd site; bundle exec rails sworker: cd site; rake jobs:worksearch: cd site; bundle exec rake sunspot:solr:runscheduler: cd redirect; rake jobs:worklog: tail -f site/log/development.log
We ctually figured out a way. Here's the Gist for those of you needing this:
https://gist.github.com/2006770
Does anyone know how to make the custom login form remember login details? E.g. when I type my email but with an incorrect password it now forgets about the email address.
Tnx. That was very useful. I'm currently rewriting the authentication of production app and both of today's episodes have been exactly what I needed.
Just a small comment on the pruning of old searches. I think it's generally bad behaviour to remove old searches. People might link to it, expect it to remain, and boom, suddenly it's gone.
It's probably better to check if a specific search already exists before creation and redirect to it if need be.
Here's another tip: Foreman runs anywhere. I currently use it in a non-Rails folder to get it to start up 2 Rails apps that need to run at the same time. Example: