home_run is an implementation of ruby’s Date/DateTime classes in C, with much better performance (20-200x) than...
Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a...
This may be awkward to set up, but will work once you're done. Fun facts:
Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct...
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...
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...
This is about converting Haml to ERB and not the other way round which you probably want! This process can...
sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...
ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)
This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...
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
before transition before validation after validation before save after save after transition Aborting the callback chain See Cancel the ActiveRecord...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...
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...
YSlow analyzes web pages and tells you why they're slow based on the rules for high performance web sites...
Web performance expert Nicole Sullivan discusses a set of best practices in the creation of supremely fast, visually impactful web...
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...
Reads Active Record's validations and makes them available to live client side javascript
Rails’ script/console makes it easy to fetch, view and edit your database records. But can you edit those records as...
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...
SWFRIP is a Macromedia Flash resource extractor and editor. It can save resources in various formats, including SVG conversion from...