Linked content

Railscasts - Embedded Association

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask.

Linked content

ActiveRecord Optimization with Scrooge - igvita.com

The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute column, simply observe and record for some period of time all of the attribute accesses and then reuse this knowledge in the future to automatically optimize your subsequent query requests.

Linked content

sdsykes's read_from_slave at master - GitHub

Read_from_slave for Rails enables database reads from a slave database, while writes continue to go to the master

Linked content

rubaidh's rubaidhstrano at master - GitHub

Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos.

Linked content

Record Filter - Replace named scopes with awesome.

Record Filter gives you the full power of ActiveRecord's query building tools with a heaping helping of DSL thrown in to save your Ruby-loving fingers from writing nasty SQL.

Linked content

Google Summer of Code winner: ActiveModel for Ruby on Rails

Finish the remainder of the ActiveModel todo list (observers, callbacks, validations, scoping, and serialization) in addition to associations. Also wire up ActiveModel up to ActiveRecord and ActiveResource.

Linked content

mysql-master-master - Google Code

MMM (MySQL Master-Master Replication Manager) is a set of flexible scripts to perform monitoring/failover and management of MySQL Master-Master replication configurations (with only one node writable at any time). The toolset also has the ability to read balance standard master/slave configurations with any number of slaves, so you can use it to move virtual IP addresses around a group of servers depending on whether they are behind in replication.

Linked content

Introducing Cache Money « Magic Scaling Sprinkles

Cache Money is a plugin for ActiveRecord that transparently provides write-through and read-through caching functionality using Memcached. With Cache Money, queries are automatically cached for you; and similarly, cache expiry happens automatically as after_save and after_destroy events.

Linked content

Connecting to MSSQL with Ruby on Ubuntu - lambie.org

I’m working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from Linux using Ruby. Here’s what I did to get it working, based off some useful instructions that are tailored for Ruby on Rails:

Linked content

Tagaholic - Console Update With Your Editor

Rails’ script/console makes it easy to fetch, view and edit your database records. But can you edit those records as quickly as you edit code in your text editor? Riiight, like editing our database records in an editor is gonna happen? It already has.

Linked content

Squirrel

Squirrel is an enhancement for ActiveRecord’s find method that allows programmers to query the database using a more Rubyish syntax.

Linked content

Agile Ajax » ActionMailer Callbacks: In the Spirit of ActionController Filters » Pathfinder Development

A while back, I had a requirement to persist a record of which email addresses were sent an email through the system. I expected to find callback support for ActionMailer, but was surprised to find that it didn't exist.

Linked content

The Campbellian Myth of Monkey Island < Columns | PopMatters

The Secret of Monkey Island takes the same principles of the heroic myth and delivers a story full of wit and humor that has become a classic because of its traditional roots.

This website uses cookies to improve usability and analyze traffic.
Accept or learn more