Erich Douglass's blog
Ask for Help
"Is there a good way to manage SQL views using Active Record?"
Check out the rails_sql_views gem.
"Can I move a file or directory with git without having the history becoming disconnected (i.e have to use --follow)?"
Because of the way git stores files, this isn't really possible. One workaround is to use filter-branch to rewrite history to make it look like the file was never moved. However, you'd have to be careful and ensure that no one pushes the pre-filtered history to the repo after it has changed.
Interesting Things
"It's not possible to disable 1-click purchasing on a Kindle device."
Unless you want to have a long chat with your credit card company, make sure you keep this in mind before letting a niece / nephew borrow your Kindle :)
Ask for Help
"Is there anyway to prevent Capybara from resetting the session in RSpec?"
Capybara seems to have a reset_session_after_each option. It may or may not be useful.
