github.com

Restmod creates objects that you can use from within Angular to interact with your RESTful API.

When you have an Angular directive that transcludes content, you might want to do something in case there is no...

makandra dev
feedjira.com

Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...

makandra dev
github.com

Parses URLs of social networks to extract IDs or screen names. It does not get confused by child routes: you...

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

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

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

teohm.com

The attached post shows some alternative ways to define Strings in Ruby using the percent notation. This can be useful...

If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...

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...

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...

SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...

So you want your Ruby script to install missing gems instead of dying? Take this method: def installing_missing_gems...

You are probably using Ruby 1.8.7 with a too recent versions of Rubygems. Downgrade your Rubygems to the latest version...

code-experience.com

React.js is a relatively new Javascript templating engine that has two-way-bindings like AngularJS or Batman. The interesting idea...

makandra dev
menuetos.net

MenuetOS is an Operating System in development for the PC written entirely in 32/64 bit assembly language. Menuet64 is released...

Programatically invoke Rails generators Require the generator, instantiate it and invoke it (because generators are Thor::Groups, you need...

So you have a restangular collection and you want to remove an element from it, after you've successfully deleted...

With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart...

If you regularly get ActionView::MissingTemplate exceptions, maybe some bot visits your site requesting silly formats like: http://www.rails-app.com/makandra.html-username-2000...

github.com

better_errors is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging...

If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...

If you come across an (older) application that is using Prototype instead of jQuery, you may often see events bound...