Chris Oliver

Joined

292,970 Experience
93 Lessons Completed
295 Questions Solved

Activity

Posted in Orphaned Children by James Jelinek

Another useful tip is to check out my Hyper Paranoid gem which instead of deleting a record, it sets a deleted_at attribute. That way you can recover deleted records if you need them later. https://github.com/excid3/h...

Posted in Announcing GoRails Discussion

Another way to do this is to put the ActionMailer configuration pieces into the relevant config/initializers/production.rb and config/initializers/development.rb files. Either way works, this way is nice if you have some shared configurations between the two.

And if your repo is public, or you want to leave the configuration on the machine you can use ENV variables, or dynamically read in the configuration through a YAML file or something similar.

Posted in Announcing GoRails Discussion

If you're in need of a much more advanced search that does indexing, you can look into http://pat.github.io/thinki..., https://github.com/sunspot/... or Elastic Search with https://github.com/karmi/tire