Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...
ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)
tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html
jqueryElement.is(':checked')
before transition before validation after validation before save after save after transition Aborting the callback chain See Cancel the ActiveRecord...
Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...
A while back, I had a requirement to persist a record of which email addresses were sent an email through...
Squirrel is an enhancement for ActiveRecord’s find method that allows programmers to query the database using a more Rubyish...
Rails’ script/console makes it easy to fetch, view and edit your database records. But can you edit those records as...
Flot is a pure Javascript plotting library for jQuery. It produces graphical plots of arbitrary datasets on-the-fly client...
Unfortunately, by default plugin tests are pretty bland. They use the plain unit test suite supplied by Ruby, and not...
I’m working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from...
Cache Money is a plugin for ActiveRecord that transparently provides write-through and read-through caching functionality using Memcached. With...
MMM (MySQL Master-Master Replication Manager) is a set of flexible scripts to perform monitoring/failover and management of MySQL Master...
Finish the remainder of the ActiveModel todo list (observers, callbacks, validations, scoping, and serialization) in addition to associations. Also wire...
Record Filter gives you the full power of ActiveRecord's query building tools with a heaping helping of DSL thrown...
Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos.
Read_from_slave for Rails enables database reads from a slave database, while writes continue to go to the master
Another ActiveModel alternative.
The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute...
Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a...
A rails plugin to store a collection of boolean attributes in a single ActiveRecord column as a bit field.