similar to: Let''s Optimize ActiveRecord!

Displaying 20 results from an estimated 400 matches similar to: "Let''s Optimize ActiveRecord!"

2006 Jul 14
18
ActiveRecord Love While We''re At It
I am working on and will be publicly showing ActiveRecord some love around the time of the RubyConf*MI [1] in late August. My main focus is getting AR to better handle inserts, updates and merges when working large sets of data. It can improve improve performance by 400% to 600% in preliminary benchmarks. I am coding this in a way so it can be patched to AR easily, and with that in mind
2006 Jul 30
0
RubyConf*MI 2006!
Announcing RubyConf*MI! The Michigan Ruby Users Group [1] is pleased to announce RubyConf*MI, http://www.rubyconfmi.org - a whole day of Ruby goodness. The conference will be an all day event held at Calvin College in Grand Rapids, Michigan, on Saturday, August 26, 2006. RubyConf*MI [2] will be a single-track conference featuring well-known speakers like David A. Black and Pat Eyler, along with
2006 Apr 20
0
ActiveRecord IO Mode Plugin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord IO Mode Plugin v.0.0.1 - ------------------------------------- We are pleased to announce the ActiveRecord IO Mode plugin version 0.0.1. It allows you to redirect where sql statements are sent. By default they are sent to a database connection, with the IO Mode plugin you can proxy them wherever you want. They can be sent to any object
2006 Jul 11
1
[Fwd: NDN: Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for us]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I got this error when kicking out my first response. I don't know if I should ignore this, or if this is an issue that is affected by the samba.org sites being down... but just in case.. Zach - -------- Original Message -------- Subject: NDN: [Samba] Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for us Date: Tue, 11 Jul 2006
2006 Aug 11
4
1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension - 0.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord Extension 1337 - 0.0.1 is released! A 1337 speak module for ruby is released! It is bundled with the ActiveRecord extension activerecord_1337. This allows you to encode your application in l33t speak. You can use the L337 module standalone or use it bundled with the ActiveRecord extension. This plugin can be easily used as a Rails
2005 Jul 26
0
Lighttpd / Rails / FastCGI - Small Problem and Solution
Myself and a coworker ran into an issue that only appears with Lighttpd. It does not happen with Webrick or Apache. Our rails app uses libraries outside the ruby standard library paths, and outside our rails application directory. When trying to add those directories to our load path, it was getting screwed up. Here is my posting of the problem in full and the solution we came up with:
2006 Jul 11
2
Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for user
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have seen this problem posted several times and the common answer doesn't seem to be doing it for me. Here's the error: Trying to load: ldapsam_compat:ldap://127.0.0.1/ Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend ldapsam_compat Successfully added
2006 Aug 06
0
Rails Core Weekly July 16 - August 6
Rails Core Weekly July 16 - August 6 Rails Core Weekly summarizes the rails-core mailing list, a list dedicated to Ruby on Rails internals and its development. RCW is brought to you by Rodney Ramdas and proofread by the good people of The Caboose (http://blog.caboo.se/) for accuracy. RSS feed and RCW home: http://www.pinupgeek.com/articles/category/rails-core-weekly-news The ruby on rails
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name
2006 Mar 09
1
Capistrano Error undefined method ''local''
I get an error after running Capistrano deploy... zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy (in /home/zdennis/source/projects/listedpropertiesllc.com) loading configuration /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb loading configuration ./config/deploy.rb * executing task deploy ** transaction: start * executing
2005 Feb 24
15
New Docs - One and Three Quarter Look
Ok, the link: http://www.mktec.com/dev_www/wxrubydocs/ (try http://www.mktec.com/dev_www/wxruby-docs/ ,it does not work for me, although this is the actual directory, could you email me privately if this does/doesn''t work for you, thx) Updates in this preview of the new docs: - a new RDOC template courtesty of Nick - fixed paragraph jumping and monospace text where it
2005 Feb 07
7
New Docs - First Look
Ok, my first complete swipe for the new docs (but still with old rdoc default output templates) can be seen at: http://www.mktec.com/dev_www/wxruby-docs/ Most of the classes/methods documentation came out fine, but I still need finetune because some methods don''t get documented at all, like methods in the classes Bitmap and Frame. Once I can get it so all things get documented
2006 Aug 10
4
Speeding up ActiveRecord creation?
My completely empty model (no validation callbacks etc etc) takes an average of 0.05 seconds to create, at least according to Benchmark.realtime{200.times{Message.create(:from => "me@here.com", :message_type => ''email'', :subject => "hello", :body => "goodbye", :sent_at => Time.now)}}/200 That''s a little slower than
2006 Jun 16
3
ActiveRecord, using sql functions for some attributes
Hi. I need to use functions INET_ATON, INET_NTOA for IP address retrieving. Is it possible to make this transparently (without custom SQL for saving, updating and retrieving)?
2005 Feb 08
5
New Docs - One Look and a Partial Glance
Ok, same url as before: http://www.mktec.com/dev_www/wxruby-docs/ We aren''t at the second look yet (because i dont'' have arguments in the docs yet), but that is coming. This fixes the bug where classes after Image didn''t have any docs, and this fixes the issue where many methods weren''t documented (like the class Frame). Now the only methods that are not
2006 Aug 19
3
Activerecord validation problems
Hi everyone, I''m having trouble validating a model. The corresponding table has some boolean columns: create_table :permissions do |t| t.column :project_id, :integer, :null => false t.column :group_id, :integer, :null => false t.column :read, :boolean, :null => false, :default => false t.column :write, :boolean, :null => false, :default =>
2006 Jul 14
1
ActiveRecord, can it save more than one row at a time????
Hi, I wonder if there is some fonctions which allow an activeRecord to save more than one row at a time??? As I understand, when we create an object from AC::Base, it represents one row of the table. So if I want to save more than one row, I have to create the object one by one and then save them one by one. If I have 10, it is fine, but if I have more than 1000, so it will a lot of time.... So
2006 Aug 03
0
RubyConf 2006 registration is open
Hi -- Registration for RubyConf 2006 is now open, at http://www.regonline.com/101503. Please note that we are accepting credit cards *only*. There''s more conference info at http://www.rubyconf.org. Thanks -- David for RubyConf 2006 and Ruby Central, Inc. -- http://www.rubypowerandlight.com => Ruby/Rails training & consultancy ----> SEE SPECIAL DEAL FOR RUBY/RAILS
2006 Nov 24
7
Anyone know whats going on with PostgreSQL async_exec errors?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anyone know what''s going on with ActiveRecord Edge and 1.2RC1 unit tests. I get 13 failures from the "async_exec" method call. ie: test_callback_rollback_in_save(ConcurrentTransactionTest): ActiveRecord::StatementInvalid: NoMethodError: undefined method `async_exec'' for #<PGconn:0xb75a8754>: SET
2006 May 27
7
How should I select rows from a join-model based on more than one association?
A concrete example: We''re building a system to organize the information about workshops being held in various conventions. A convention has more than one workshop, and each workshop can be held in more than one convention. Also each workshop has a host, who is specific to a workshop being held in a specific convention. For example, Matz may host an "Introduction to Ruby"