[Rails-core] Re: Integrity for CI instead of CC.rb?

2009-01-13 Thread Chad Woolley
On Tue, Jan 13, 2009 at 9:05 PM, Jeremy McAnally wrote: > > Hey guys and gals, > I suggested that perhaps we should use Integrity > (http://github.com/foca/integrity) for the CI for Rails rather than > CC.rb. DHH said he was all for it, but I should bring it before you > all before he made a dec

[Rails-core] Re: Integrity for CI instead of CC.rb?

2009-01-13 Thread Michael Koziarski
> Hey guys and gals, > I suggested that perhaps we should use Integrity > (http://github.com/foca/integrity) for the CI for Rails rather than > CC.rb. DHH said he was all for it, but I should bring it before you > all before he made a decision. Almost all the work on the CI server to dahas been

[Rails-core] Integrity for CI instead of CC.rb?

2009-01-13 Thread Jeremy McAnally
Hey guys and gals, I suggested that perhaps we should use Integrity (http://github.com/foca/integrity) for the CI for Rails rather than CC.rb. DHH said he was all for it, but I should bring it before you all before he made a decision. So, here's why I like Integrity: 1. It needs less hacking t

[Rails-core] Re: [PATCH] Setting a decimal from 0.0 to '' doesn't constitute a change

2009-01-13 Thread stack
If you build a form to edit a model that has a decimal, you cannot blank out the value if it was originally 0.0. There is an exception for this for integers, just not decimals. On Jan 13, 8:42 pm, "Mislav Marohnić" wrote: > Isn't this expected behavior?"".to_i == 0.0  #=> true > > You are sayin

[Rails-core] link_to in models

2009-01-13 Thread Seamus Abshere
Hi, When I moved from Rails 2.1 to edge, I found that the old trick of putting > include ActionView::Helpers::UrlHelper # provides link_to > include ActionController::UrlWriter # provides url_for into models didn't work as well as it used to because of > http://github.com/rails/rails/commit/

[Rails-core] Re: JSON - all keys should be quoted?

2009-01-13 Thread nootch
I've actually gone ahead and submitted this as a proper patch/ticket to lighthouse. http://rails.lighthouseapp.com/projects/8994/tickets/1755-json-encoding-of-hashes-does-not-always-properly-double-quote-keys If anyone has a second to verify this, would be great. Thanks - Noah On Jan 12, 9:22 

[Rails-core] Re: [PATCH] Setting a decimal from 0.0 to '' doesn't constitute a change

2009-01-13 Thread Mislav Marohnić
Isn't this expected behavior?"".to_i == 0.0 #=> true You are saying that assigning an empty string should nulify the value? On Wed, Jan 14, 2009 at 02:17, stack wrote: > > If a model has a decimal value which is currently set to 0.0 and the > field is blanked out with an empty string (like wh

[Rails-core] weblog.rubyonrails.org not wide enough; causes navigation bar to wrap on Linux

2009-01-13 Thread Hongli Lai
weblog.rubyonrails.org is not wide enough. On Linux this causes the navigation bar to wrap: http://izumi.plan99.net/weblog-ror-wrap.png Changing the width of the #container CSS rule from 650px to 680px solves the problem. --~--~-~--~~~---~--~~ You received this mes

[Rails-core] [PATCH] Setting a decimal from 0.0 to '' doesn't constitute a change

2009-01-13 Thread stack
If a model has a decimal value which is currently set to 0.0 and the field is blanked out with an empty string (like when submitting an empty text_field for the value), the dirty objects code does not recognize a change. http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1754-sett

[Rails-core] Re: Leading zeros option for day and month on datetime_select

2009-01-13 Thread Tony
Sounds like a good idea to me and something I could use... -T On Jan 13, 12:07 pm, Colin Law wrote: > On Jan 11, 2:10 pm, Colin Law wrote: > > > Hi > > > I would like to add the ability to specify leading zeros on the day, > > and month (if :use_month_numbers is true), for > > ActionView::Help

[Rails-core] Re: Leading zeros option for day and month on datetime_select

2009-01-13 Thread Colin Law
On Jan 11, 2:10 pm, Colin Law wrote: > Hi > > I would like to add the ability to specify leading zeros on the day, > and month (if :use_month_numbers is true), for > ActionView::Helpers::DateHelper::datetime_select. I suggest an > option :leading_zeros_month_and_day. Is this an enhancement that w

[Rails-core] Re: tracking_attribute_changes and using default checkbox form in the view

2009-01-13 Thread Michael Koziarski
It will be available in the next point release we do from the 2.2 branch (2.2.3) hopefully that will come out relatively soon as there's a few fixes piled up. On Wed, Jan 14, 2009 at 6:22 AM, Antoine wrote: > > Thank you Ben for your answer ;-) > Do you know when the patch will be available in r

[Rails-core] Re: tracking_attribute_changes and using default checkbox form in the view

2009-01-13 Thread Antoine
Thank you Ben for your answer ;-) Do you know when the patch will be available in rails ? Best regards ;-) Antoine On Jan 13, 2:44 am, Eloy Duran wrote: > Ah sorry, I shouldn't have assumed edge. My bad. > Thanks Ben > > - Eloy > > On Jan 12, 2009, at 8:30 PM, Ben Symonds wrote: > > > > > Thi

[Rails-core] Two small patches relating to sessions

2009-01-13 Thread Cody Fauser
I have added two small patches to Lighthouse relating to sessions. The first removes the very old #reloadable? method from ActiveRecord::SessionStore. The second updates the config/initializers/session_store.rb file to use the new :key option in the session configuration instead of the old CGI :se