Speeple News Search

Search: |

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

m.onkey.org » 2008 » May » 1st

May
S M T W T F S
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Tags for this date: activerecord, callbacks, edge, irc, performance, rails, tips

  1. If you see this

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

    Then you’re experiencing modrails ! So here’s your candy : cp /opt/local/etc/bash_completion.d/git ~/.git_auto_complete.sh mate ~/.profile Add “source ~/.git_auto_complete.sh” at the very bottom Open a new shell

    Tagged: news, tips, git

  2. RSpec & COBOL

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

    It’s a pretty saturday morning and I am in very jolly mood. Thought I’d share some joy ;-) In 1959, there was COBOL 1 2 3 4 5 6 7 8 9 10 11 ADD YEARS TO AGE. MULTIPLY PRICE BY QUANTITY GIVING COST. SUBTRACT DISCOUNT

    Tagged: joke

  3. Improve Rails Documentation

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

    This is almost a cross post from my email to rails-core mailing list : Lately there had been many tiny doc patches at trac, which could easily escape our normal verification cycle. On top of that, we’re entering the

    Tagged: documentation, rails

  4. Single file Rails Application

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

    UPDATE 1 : The inspiration for this article came from here ( it predates yo mama ). It has abso-fucking-lutely nothing to do with merb whatsoever. And “fuck you to your face” is NOT directed towards anything/anyone :)

    Tagged: rails

  5. Tidbits from my crap

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

    I’ve always been in the habit of maintaining a file called crap.rb under my home directory, which I mainly use for benchmarking and testing some tiny stuff. So here are some amusing/useful benchmarks from my crap(

    Tagged: performance, ruby

  6. 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

    Tagged: activerecord

  7. A few tiny never/rarely seen before rails 2.0 features

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

    Asset Caching I had talked about this before in the past. Basically, rails allows you to merge your css and javascript files in a single file which is cachable by the browsers. Hence, there’ll only be just one request

    Tagged: tips, rails

  8. 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

    Tagged: activerecord

  9. 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

    Tagged: activerecord

  10. 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

    Tagged: tips, irc, activerecord

1  2