The most obvious way to use spring is to call it explicitly: spring rails console spring rake db:migrate...
If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...
GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...
Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...
wrap the text with a span use line-height for the spacing between lines ("margin")
This describes how to migrate an existing cucumber test suite to Spreewald. Add the gem Include spreewald into your cucumber...
...your Firefox versions because your Selenium tests break whenever Firefox updates, there is a better way that lets you keep an up-to-date Firefox. Mozilla has stated that they...
If you use Angular 1.4+ together with Angular Animate, all ng-show, ng-hide, ng-class etc. are animated on...
...two elements with display: inline-block are sitting next to each other, whitespace between becomes a space character. Solutions, in decreasing order of awesomeness: Don't have whitespace between two...
...you will never be able to negate the space exactly, leading to weird hairlines betwen elements (especially on high-DPI displays, where a pixel is not a pixel).
This trick might be useful to implement more complicated directives in AngularJS. I needed it to do drag'n'drop...
You can use record.send(:update_without_callbacks) or record.send(:create_without_callbacks) This can be used as a...
...verschönert jedes noch so kahle \n Speisezimmer".gsub(/\W+/, " ") => "Eine l ngliche Kristall Lampe ber dem Esstisch versch nert jedes noch so kahle Speisezimmer" You need to use "[^[:word:]]", which...
...full trace an no longer be able to filter out any lines from gems. Better errors is not affected...
Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries...
Calling Time#utc, Time#gmt or Time#localtime will not create a converted copy. Instead these methods modify the receiving...
Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...
...a few version 3 features and allowing to revert some settings to 2.x behavior. Your profile(s) from previous to the upgrade remain inside ~/.mozilla-thunderbird and can be removed...
For some reason you want to define a find condition in array form. And in that condition both column name...
Defining a custom to_json method for your classes can be useful. Do it properly or you will "randomly" get...
Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...
This is for you if you get this error: cucumber.yml was found, but could not be parsed. Please refer to...
From time to time we're convinced that an error must be very close to the network card, OS IP...
This is about converting Haml to ERB and not the other way round which you probably want! This process can...
Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...