While you are probably using will_paginate to paginate ActiveRecord scopes, it can actually paginate plain Ruby arrays. The resulting...
Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...
jQuery plugin for equalizing the height or width of elements.
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
Previous versions of Consul exhibited strange behavior when querying a power that returns nil. Consul 0.4.2+ behaves as expected:
TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...
A jQuery audio player plugin that is responsive and touch-friendly. The UI is css-only, no images used.
jquery-timing is a very useful jquery plugin that helps to remove lots of nested anonymous functions. It's API...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.
ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...
For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...
Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...
In Rails 2, when calling instance_eval or instance_exec on a scope, the scope will fetch its records from...
imgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement...
I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...
As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors.
A technique to vastly reduce the number of join model records that need to be stored in the database.
If you get a stacktrace complaining about uninitialized constant MysqlCompat::MysqlRes a system library update might broke your gem.
When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...
Capybara gives you two different methods for executing Javascript: page.evaluate_script("$('input').focus()") page.execute_script("$('input').focus()")
Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries...
Installation differs slightly from older versions, please check the README.
YourClass.reflect_on_all_associations.map(&:name) Get the class name by calling class_name, or the type of the association (belongs_to, has_many...