[Rails-core] Support for localized numbers

2009-05-22 Thread Clemens Kofler
Hi guys, I was wondering if there's any interest in including support for localized numbers directly in Rails core. Example: @product.price = '19,95' # = 19.95 There's a really simply way to get this done as can be seen at

[Rails-core] Re: Support for localized numbers

2009-05-22 Thread Colin Law
2009/5/22 Clemens Kofler clem...@railway.at Hi guys, I was wondering if there's any interest in including support for localized numbers directly in Rails core. Example: @product.price = '19,95' # = 19.95 Is that a good idea? That would mean that if in my application I write, using a

[Rails-core] Getting version 3

2009-05-22 Thread Joshua Partogi
Dear all, Sorry for my lame question here. I want to pull out the version 3 source from github. Therefore I use the clone command as such: git clone git:// github.com/rails/rails.git I then get in to the working directory and typed: git branch 3-0-unstable But it turns out that I can not do

[Rails-core] Re: Getting version 3

2009-05-22 Thread Mike Gunderloy
master is the version 3 branch now. On May 21, 2009, at 11:56 PM, Joshua Partogi wrote: I then get in to the working directory and typed: git branch 3-0- unstable But it turns out that I can not do that because there's only master branch. Does anyone know what am I missing here?

[Rails-core] Re: Rails and Ruby 1.9 encoding issues

2009-05-22 Thread John-Paul Bader
Hrm, meanwhile I've read through many forum threads (which are more confusing than helpful) and I also played around with that issue a bit more. First of all I set up a clean install of Ruby1.9, Rails, Postgresql83 and http://github.com/qoobaa/pg/tree/master as the postgres adapter which claims

[Rails-core] Re: Rails and Ruby 1.9 encoding issues

2009-05-22 Thread Jeremy Kemper
On Fri, May 22, 2009 at 11:42 AM, John-Paul Bader jpba...@gmail.com wrote: Hrm, meanwhile I've read through many forum threads (which are more confusing than helpful) and I also played around with that issue a bit more. First of all I set up a clean install of Ruby1.9, Rails, Postgresql83

[Rails-core] Re: Rails and Ruby 1.9 encoding issues

2009-05-22 Thread Ken Collins
Just a plug, I have the latest SQL Server adapter working just fine in 1.9 with unicode string support. http://github.com/rails-sqlserver/2000-2005-adapter/tree/master I really found James' articles on string encoding helpful when learning this stuff.

[Rails-core] Re: Rails and Ruby 1.9 encoding issues

2009-05-22 Thread Jeremy Kemper
On Fri, May 22, 2009 at 12:09 PM, Ken Collins k...@metaskills.net wrote: Just a plug, I have the latest SQL Server adapter working just fine in 1.9 with unicode string support. http://github.com/rails-sqlserver/2000-2005-adapter/tree/master I really found James' articles on string encoding

[Rails-core] Re: Rails and Ruby 1.9 encoding issues

2009-05-22 Thread John-Paul Bader
Hey again, meanwhile the pg guy wrote me back on github which also explains some issues (at least for me) qoobaa sent you a message. Subject: Currently I'm doing a project using Ruby 1.9.1 and RoR 2.3.2. The main problem is that RoR, Rack and every single DB adapter

[Rails-core] Re: SQLite2 version in CI?

2009-05-22 Thread Jason King
Ah, the end of the build log. Thanks Chad! So now I'm confused, because my test fails with the same versions of SQLite2 and same sqlite-ruby gem as the CI machine. I can reproduce the bug in last_insert_rowid() directly in SQLite2 (by using those large ids) so I have to conclude that the

[Rails-core] Re: SQLite2 version in CI?

2009-05-22 Thread Chad Woolley
On Fri, May 22, 2009 at 4:24 PM, Jason King smathy.w...@gmail.com wrote: Can someone tell me which version of sqlite is used on the CI machine?  (Or, even better, how to find out?) I'm seeing what looks like a bug in my 2.8.17 for the last_insert_rowid() function with the high PKey IDs that

[Rails-core] Re: SQLite2 version in CI?

2009-05-22 Thread Chad Woolley
On Fri, May 22, 2009 at 4:37 PM, Jason King smathy.w...@gmail.com wrote: So now I'm confused, because my test fails with the same versions of SQLite2 and same sqlite-ruby gem as the CI machine.  I can reproduce the bug in last_insert_rowid() directly in SQLite2 (by using those large ids) so I

[Rails-core] Behavior for ApplicationController in Engine in Rails 3

2009-05-22 Thread IamPersistent
I am wondering what the expected behavior for ApplicationControllers is in an Engine when there is an ApplicationController in the app. Also what is the expected behavior for the multiple Engines with ApplicationControllers. I'm asking because I'm getting Tog ready for Rails 3. I have it

[Rails-core] Re: redesigning mass attribute assignment (activerecord3.0?)

2009-05-22 Thread kenny . ortmann
I like it. Sent from my Verizon Wireless BlackBerry -Original Message- From: cainlevy cainl...@gmail.com Date: Fri, 22 May 2009 19:42:03 To: rubyonrails-core@googlegroups.com Subject: [Rails-core] redesigning mass attribute assignment (activerecord 3.0?) Hello! I'd like to refactor