Keeping a Secret
Rails 4 introduces a new way of signing cookies that differs from the previous method in Rails 3. When you upgrade to Rails 4, you are likely to receive a warning: DEPRECATION WARNING: You didn't set...
View ArticleAppraising Your Gem
One might argue that the more versions of ruby and rails your gem supports, the more valuable it is to the general population. Well, I guess it does also depend on what your gem does (rainbows and...
View Articleerror message: did not find expected key while parsing a block mapping
Have you received this error message while trying to run bundler, or start your rails server? did not find expected key while parsing a block mapping at line 1 column 1 (Psych::SyntaxError) The problem...
View ArticleUnable to find css “[element_id]” (Capybara::ElementNotFound)
If you are seeing this capybara error: Unable to find css "[element_id]" (Capybara::ElementNotFound) Make sure that you actually call visit before trying to find an element! I was trying to use a...
View Article