Looking for a way to embed raster images for both low- and high-DPI displays, this developer had some good...
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...
Using the CSS border-radius property, we can create rounded shapes and circles. Add some gradients and they become spheres...
Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.
To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...
You can make both mobile Chrome and mobile Safari display a native app install banner. The banner suggests that the...
Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...
Unfortunately, Web APIs haven’t provided the functionality to copy text to the clipboard through JavaScript, which is why visiting...
Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...
I am happy to announce that this information is now available in JSON form at https://ip-ranges.amazonaws.com/ip-ranges.json. The information...
On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...
If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever
You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...
If you need a postgresql extension for your database it isn't a good idea to give your applications database...
You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...
To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:
As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.
Use form models to handle this problem Or soften the validation to validates_presence_of :parent
If you hover over the text of a card, you will now see EDIT links at the top right corner...
Use base_class. This traverses up the hierarchy until it encounters either a class inheriting from ActiveRecord::Base or
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
Reason: You very likely have a model that has a delay attribute. You can configure Sidekiq to remove its delay...
Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...