The build failed.
CHANGES
---
Revision 8865 committed by rick on 2008-02-14 07:24:09
Improve associations performance by avoiding named block arguments. Closes
#11109
M /trunk/activerecord/CHANGELOG
M /trunk/activerecord/lib/active_record/associations/association_collection.rb
M
/trun
Nuno,
I blogged (http://daniel.collectiveidea.com/blog/2007/5/17/the-road-to-
randomness) about this a while ago and got some great feedback from
Mislav (read the comments).
I made a plugin (though rarely use it) and if you want to improve it,
be my guest!
I tend to agree that this shouldn't be
Hello,
I just uploaded this patch:
http://dev.rubyonrails.org/ticket/2
The point is URI restricts username and password and, for example, you
cannot use emails as usernames.
I have patched ActiveResource to allow the following syntax:
class Person < ActiveResource::Base
self.site = "http:/
Hello,
I've just added a patch to http://dev.rubyonrails.org/ticket/9742
which should (tests pass) work as advertised in the subject line.
This is my first contribution, please take a look. Feedback greatly
appreciated.
--
Jacek Becela
--~--~-~--~~~---~--~~
You
On 2/13/08, Alexander Dymo <[EMAIL PROTECTED]> wrote:
> Hi,
> I can't remember whether I promised more performance patches, but anyways here
> they are ;)
Great work, Alexander!
It's wonderful seeing our memory footprint shrink, bit by bit.
Best,
jeremy
--~--~-~--~~~---
Hi,
I can't remember whether I promised more performance patches, but anyways here
they are ;)
http://dev.rubyonrails.org/ticket/11108
By rewriting string callbacks to symbol callbacks in AR associations we can
get significant performance improvement because there's no need to create
extra Bin
On Feb 13, 2008, at 8:36 AM, Nuno Job wrote:
> I'm Portuguese and it really bothers me that rails has no decent
> internationalization support in it's core.
>
> A simple yaml dictionary-like file would be enough to translate it to
> different languages and using a smart route we could translate t
On Feb 13, 2008 8:36 AM, Nuno Job <[EMAIL PROTECTED]> wrote:
> I know there are some plugins for this but I'm conviced that it would
> be done the rails way, simple and clean, if it was in the core.
>
The authors of the various i18n plugins are, unless something's gone
haywire, working out how to
Rick Denatale wrote:
> One thought is to check that you are using a mysql table type which
> supports transactions. Innodb does, myisam (which is or used to be
> the default for mysql) does not.
>
Awesome, that did the trick. It appears the Debian/Ubuntu release for
mySQL 5 has the table type
On 2/13/08, Nuno Job <[EMAIL PROTECTED]> wrote:
>
> I'm Portuguese and it really bothers me that rails has no decent
> internationalization support in it's core.
Last I checked the project was still Open Source, and in fact its
still accepting patches! Feel free to add this functionality if it
r
I'm Portuguese and it really bothers me that rails has no decent
internationalization support in it's core.
A simple yaml dictionary-like file would be enough to translate it to
different languages and using a smart route we could translate the 7
basic actions + models + error messages to any lan
Hi Folks
I have created a currency converter Gem in rails,
It is a currency converter built in ruby on rails, It will allow the
users to convert currency from/to any currency value. Usage: require
"rcurrency" result = RCurrency::Convertor.convert(100, "CNY", "USD")
Kindly take out some time to
On 2/13/08, Rick DeNatale <[EMAIL PROTECTED]> wrote:
> Try setting use_transactional_fixtures to fall and see if it makes a
> difference.
s/fall/false/
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
--~--~-~--~~~---~--~~
You received thi
On 2/12/08, Sonny Chee <[EMAIL PROTECTED]> wrote:
>
> Hey Guys,
>
> I've got a test class that loads a bunch of fixtures. My understanding
> is that fixtures are reloaded between each test... and I even have the
> following two method calls at the top of my test class to make doubly
> sure...
>
>
ActiveRecord::Base#toggle! is used to toggle an attribute true or
false, and immediatly save it. It is implemented to call the toggle
method, and then call update_attribute to save to the database.
The problem I see with this is that there is no validation, when
toggling a boolean. In my op
15 matches
Mail list logo