So you are debugging like a boss and lost track of where you actually are in your code? No problem...
When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...
Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...
Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...
“Fat models” cause maintenance issues in large apps. Only incrementally better than cluttering controllers with domain logic, they usually represent...
Richard Powell presents a collection of CSS styling advice that's mainly taken from SMACSS. Although at makandra we're...
Ruby's mathn library changes Fixnum division to work with exact Rationals, so 2 / 3 => 0 2 / 3 * 3 => 0...
Holly Schinsky from Adobe shows some of Bootstrap's capabilities. The combination of explanation, screenshots and source code makes it...
There is no reason to leave trailing whitespace characters in your project's files, so don't add any.
Today I got a better understanding of how git works, in particular what git checkout and git reset do.
simple_format ignores Rails' XSS protection. Even when called with an unsafe string, HTML characters will not be escaped or...
Under certain circumstances gettext_i18n_rails will hit a near-infinite loop. This occured in Rails 2.3.5 with Haml 3.0.18...
If you have an html_safe string, you won't be able to call gsub with a block and match...
If (for some reason that you don't want to ask yourself) you need to know all classes that define...
In a nutshell: return statements inside blocks cause a method's return value to change. This is by design (and...
A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...
Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...
Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...
So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...
Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons
A number of issues concerning Sass/SCSS autocompletion and syntax highlighting were submitted as a feedback for RubyMine 4.5. Web development...
assignable_values now lets you define a secondary default that is only used if the primary default value is not...
Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...