Rails SQL Server
The SQL Server adapter for rails is back for ActiveRecord 2.2 and up! We are currently passing all tests and hope to continue to do so moving forward. Includes tons of new features including unicode column support, pessimistic locking, date/time column casting, DDL transactions and way more.
The TinyTds gem is my first ruby C extension. It provides a fast, efficient and native interface to FreeTDS. This provides SQL Server users with the first low level connection mode that properly handles client db encoding, ruby primitives, and string encodings under 1.9 and up.
- Rails SQL Server Adapter
- TinyTds - A modern, simple and fast FreeTDS library for Ruby using DB-Library
Less-Rails & Less-Rails-Bootstrap
When Twitter's Bootstrap was first released, I decided to give it a try and I assumed
there was support in the Rails asset pipeline for it. I was mistaken. Even thought Tilt under Sprockets could render less files with the
less.rb and therubyracer gems, there was no easy way to hook up the less load paths in a single place. Nor was there a way to expose
helpers familiar to those using sass-rails like
asset-data-url. Thus was
born these two gems. Both leverage
Rails::Railtie models that hook into the low level
internals of the Rails boot process to hook into the asset pipeline. I even take advantage of therubyracer to add functions to Less.js
that hook right back into Ruby!
- Less-Rails On Github
- Less-Rails-Bootstrap On Github
- LESS Is More - Using Twitter's Bootstrap In The Rails 3.1 Asset Pipeline
GroupedScope aims to make two things easier in your ActiveRecord models. First, provide a easy way to group objects, second, to allow the group to share associated object via existing has_many relationships. See installation and usage for more details.
Capistrano: Remote Shared Cache Strategy
This class greatly speeds up deploy times to multiple hosts by only updating your latest source code to a shared location accessible to all other servers. For instance, if you have 5 app servers in your cluster then the code update only happens with the primary or first server while all others use the shared cache to copy from. The remote shared cache can be updated by either a direct SCM export or a local export copy to target host. Notables on this project include:
- An add_rollback method that takes a block of code that can be added to the task_call_frames stack of existing transactions. Allows transactions to be added within transactions.
- A primary_app_server method that finds the primary or first app server.
HomeMarks: Simple Bookmark Start Page
HomeMarks went thru its third rewrite a few months ago for Rails 3 and is currently deployed on Heroku. I also recently just finished my first native Objective-C iPhone app too. I am currently working on the native iPad version and will post updates here too. When that happens I will rewrite the rails application a 4th time using CoffeeScript & Spine.js.