Speeple News Search

Search: |

Tags | Domains | Searches | Statistics | Options | Advanced Search

m.onkey.org » Tags » Activerecord

Related tags: irc, tips

  1. Poor man's migrations

    has_many :bugs, :through => :rails - Home - Sep 17, 2008

    In case you have read PJ’s post on Automatic migrations you might like this. PoorMansMigrations is a very simple Active Record extension that allows you to create/update/delete DB columns without using migrations

  2. Active Record tips and tricks

    has_many :bugs, :through => :rails - Home - Sep 15, 2008

    Just a small collection of tips/tricks which I use a lot ( or try to ), that others might find helpful. concerned_with In most of the Rails applications that I work with, the primary model ( User model for example )

    Also tagged: tips

  3. ActiveRecord partial updates

    ActiveRecord partial updates

    has_many :bugs, :through => :rails - Home - May 1, 2008

    OMFG! This is the moment ya all have been waiting for..ActiveRecord partial updates are now possible !! It’ll make your application run 100x faster!! Background ActiveRecord updates all the columns when you save the

  4. Query objects and delayed execution

    has_many :bugs, :through => :rails - Home - May 1, 2008

    So this morning I got up after sleeping 3-4 hours and all I can somehow think of is having Query objects for ActiveRecord finders and delayed query execution. If done well, this could open pandora’s box of neat ways to

  5. Namespaced models

    has_many :bugs, :through => :rails - Home - May 1, 2008

    I don’t really understand why people use namespaced models. I see ActiveRecord models as DSL for database. There is no concept of namespacing in Database, then why should you have them with models ? Apart from that

  6. Find users with at least 'n' items

    has_many :bugs, :through => :rails - Home - May 1, 2008

    This question is asked quite a few times in #rubyonrails When your models look like : 1 2 3 4 5 6 7 class User < ActiveRecord::Base has_many :items end class Item < ActiveRecord::Base belongs_to :user end How

    Also tagged: tips, irc