Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
Parses URLs of social networks to extract IDs or screen names. It does not get confused by child routes: you...
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...
Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...
Automagically makes XHR requests work cross-domain by tunneling all communications through an IFRAME on your page.
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...
An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...
When you tell rbenv to install a Ruby it does not know about, you will get an error message.
MenuetOS is an Operating System in development for the PC written entirely in 32/64 bit assembly language. Menuet64 is released...
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...
better_errors is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging...
Your development machine is usually on a very good network connection. To test how your application behaves on a slow...
Batman is an alternative Javascript MVC with a similar flavor as AngularJS, but a lot less features and geared towards...
Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...