Onkey - m.onkey.org - has_many :bugs, :through => :rails

Latest News:

Active Record batch processing in parallel processes 30 Aug 2011 | 12:16 am

Active Record provides find_each for batch processing of large number of records. However, when you are dealing with REALLY larger number of records ( I’m talking millions here ), find_each can become...

Using ruby-debug with Pow 30 Jul 2011 | 04:45 am

After moving to Sam Stephenson’s awesome Pow, not being able to use ruby-debug was the primary obstacle I had adjusting to my new development environment. But as it turns out, it’s very simple to use ...

Cramp 0.12 14 Feb 2011 | 05:59 am

Moved to http://cramp.in

Bulk ALTER TABLE with Rails 3 and MySQL 1 Feb 2011 | 02:34 am

With this commit, Rails migrations will support adding/removing/changing multiple columns via a single ALTER TABLE statement for MySQL. Let’s say you need to add 2 new columns to a table and modify d...

Nested layouts in Rails 3 24 Dec 2010 | 01:36 am

This an update/rewrite of my previous post nested layouts – as that version no longer works with Rails 3. Code Add the above helper method in your ApplicationHelper or wherever you see fit. Example...

Signed and Permanent cookies in Rails 3 6 Feb 2010 | 01:37 am

David added a very cool feature to Rails recently – Signed cookies and permanent cookies This lets you set permanent and/or signed cookies very easily. Before this, you’d have to write : Now just be...

Active Record Query Interface 3.0 23 Jan 2010 | 07:28 am

I’ve been working on revamping the Active Record query interface for the last few weeks ( while taking some time off in India from consulting work, before joining 37signals ), building on top of Emili...

Websockets made easy with Cramp 16 Jan 2010 | 07:42 am

Moved to http://cramp.in

Introducing Cramp 8 Jan 2010 | 03:17 am

Moved to http://cramp.in

Railssummit Slides 19 Oct 2009 | 06:47 am

Here are the slides of my presentation at Railssummit 2009. Huge thanks to Locaweb and Fabio Akita for organizing the conference and having me there. My talk was about Rails focused tips/tricks. Les...

Related Keywords:

pratik, cramp, rails templates, rails template, rack builder, rails 3 scope, rails 3 activerecord, rails 3 active record, activerecord rails3

Recently parsed news:

Recent searches: