> Anyone have any objections to this new behaviour?
I've applied the patch to edge, so if you notice any breakage shout
out in this thread.
--
Cheers
Koz
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on
> Hi,
> I've changed the ActiveRecord::Base#attributes method to avoid cloning of
> objects and increase apps performance.
> Here is the patch: http://dev.rubyonrails.org/ticket/11047
> This sure speeds up the method avoiding Kernel#clone calls, but I don't
> know if there is any special case whe
The build has been fixed.
CHANGES
---
Revision 8823 committed by marcel on 2008-02-08 22:33:17
Ooops. Add fixture partials for last commit
A /trunk/actionpack/test/fixtures/customers/_customer.html.erb
A /trunk/actionpack/test/fixtures/topics
A /trunk/actionpack/test/fixtures/customers
Nuno, I support this in a form of a plugin. It is definitely useful. But,
because of various approaches needed because of different databases (and a
lot of people disagreeing which selects are optimized), I don't think it
will ever be fit for core (as Koz suggests).
For tables that are have less r
On 9.2.2008, at 0.37, Nuno Job wrote:
One of the comments in my blog suggested a way to improve the
performance in mysql (http://jan.kneschke.de/projects/mysql/order-by-
rand/).
I guess that there are other tweaks for other database systems (like
db2, oracle, postgre, sqlite). So in the core
One of the comments in my blog suggested a way to improve the
performance in mysql (http://jan.kneschke.de/projects/mysql/order-by-
rand/).
I guess that there are other tweaks for other database systems (like
db2, oracle, postgre, sqlite). So in the core we could have the
tweaked fast versions of
The build failed.
CHANGES
---
Revision 8822 committed by marcel on 2008-02-08 22:04:06
Fix problem with render :partial collections, records, and locals. #11057
[lotswholetime]
M /trunk/actionpack/CHANGELOG
M
/trunk/actionpack/test/activerecord/render_partial_with_record_identification_
> The next step seemed to be suggesting a patch to rails core. However
> I'm still a rails rookie and don't have that necessary knowledge to
> understand all of that code. Can you tell me if this is already on
> rails core? Can someone add it please. It seems rather easy.
The problem with this is
I was trying to make a Quote model that could feed my webapp with
random quotes. I posted about this at
http://nunojob.wordpress.com/2008/02/08/random-in-ruby-on-rails
After creating the model i entered ./script/console and tried
>> Quote.find(:random)
This didn't work so I looked for another
I just created a patch to fix a couple issues with render :partial. I would
appreciate it if you could take time to review it and add your +1's.
http://dev.rubyonrails.org/ticket/11057
Thanks,
--
Mark Van Holstyn, Partner / Software Developer
[EMAIL PROTECTED], (616) 706-6842
Mutually Human Soft
Hi, I am trying to debug the test suite for active record against
SQLAnywhere, prefferably in 3rdRail. I cannot seem to get a test to
run in it, as every time i try I get base_test.rb [Ruby
Script] c:/ruby/bin/ruby.exe and nothing elseanyone know how I can
go about doing this with 3rd Rails
Hi,
I've changed the ActiveRecord::Base#attributes method to avoid cloning of
objects and increase apps performance.
Here is the patch: http://dev.rubyonrails.org/ticket/11047
This sure speeds up the method avoiding Kernel#clone calls, but I don't know
if there is any special case where not cloning
On Feb 7, 2008 5:20 PM, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote:
>
> On Feb 7, 2008 4:31 PM, <[EMAIL PROTECTED]> wrote:
> > The build has been fixed.
>
> Yay!
>
+1 :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
13 matches
Mail list logo