blog.arkency.com

Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).

stackoverflow.com

Previously the assets group existed to avoid unintended compilation-on-demand in production. As Rails 4 doesn't behave like...

While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...

Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

makandra dev

Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible...

When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...

Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...

Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...

makandra dev
github.com

Automagically makes XHR requests work cross-domain by tunneling all communications through an IFRAME on your page.

makandra dev

Spreewald now has a spreewald binary that lists all available steps, optionally filtering them. Example: $> spreewald # All Spreewald steps

makandra dev
github.com

The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...

Be careful to name any file @imported by SASS with a leading underscore. SASS files not beginning with an underscore...

makandra dev
gist.github.com

The attached RSpec matcher allows for comfortably testing delegation. Examples describe Post do it { should delegate(:name).to(:author).with...

material.angularjs.org

The material design project for Angular is a complementary effort to the Polymer project's paper elements collection. Our goal...

skype.com

Skype has been updated to 4.3 on Linux. This fixes group chat issues with non-linux clients.

makandra dev
linux.die.net

When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...

rails-assets.org

Automatically builds gems from Bower packages (currently 1700 gems available). Packaged Javascript files are then automatically available in your asset...

makandra dev
plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

This card describes how to pass an array with multiple element to a JavaScript function, so that the first array...

In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...

So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...

If you have some file or directory that should trigger a Spring reboot, tell Spring e.g. in config/spring.rb: Spring.watch 'file.rb...

The most obvious way to use spring is to call it explicitly: spring rails console spring rake db:migrate...