As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

makandra dev

tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

azimi.me

Interesting hack to move expensive JSON.parse calls out of the main thread.

In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...

If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...

In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

caniuse.com

All major browsers (IE8+, FF3.5+, Safari 4+, any Chrome) support sessionStorage, a JavaScript storage object that survives page reloads and...

semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

iana.org

When using send_file (for example for attachments of any kind), make sure your application knows the correct mime types...

To use a form model with devise, you can simply override #resource_class in a controller. A typical use case...

There are some frontends available, but they all suck, are no longer maintained or are hard to install.

Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...