When you're getting this error, one possibility is that you've created a select field for an association instead...
Put the following into config.ru in your Rails root folder: # Require your environment file to bootstrap Rails require ::File.dirname(__FILE...
In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...
Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:
...each key to whatever you like (by returning old_value you'd get the behavior of Rails' reverse_merge!, by returning new_value you'd get the behavior of standard...
Note that there are better solutions performance-wise...
RVM needs to be updated regularly to know of Ruby versions released since installation (or last update).
This will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost...
When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...
Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...
Reason: You very likely have a model that has a delay attribute. You can configure Sidekiq to remove its delay...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
When you require the Ruby debugger to be available from your Rails console (e.g. you want to inspect a method...
The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...
Global keyboard shortcuts can be configured in two separate panels in the Xfce Settings manager: Shortcuts related to managing windows...
...correct grid size for each icon. Also note that using the font will look best at font sizes that are a multiple of the grid size, e.g. 24px, 48px etc...
Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...
When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle call returns...
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...
Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...
While this is okay to temporarily stash away stuff, you may want a better identifier for your changes so you can find them more easily if you stash often...
If you are fine with the default console diff most of the time but only sometimes want to use an...
Don't simply test for the presence of the magic Paperclip attribute, it will return a paperclip Attachment object and...