[Rails-core] Running ActiveRecord unit tests

2008-11-13 Thread Matt Jones
I've been having a lot of trouble getting ActiveRecord unit tests to run - what's the trick? I've got the schema loaded into mysql, but doing 'rake test_mysql' gives back a bunch of errors "TypeError: can't convert nil into String". It looks like the fixtures aren't being loaded - what to do

[Rails-core] TemplateHandler Changes from 2.1 to 2.2

2008-11-13 Thread brady8
I've been attempting to get prawnto (template wrapper around "prawn", a native ruby PDF generator) working under Rails 2.2. Repo is here: http://github.com/thorny-sun/prawnto/tree/master To start off, I set it up and it gives an "unknown method 'compile'" error. Looking through the code, as wel

[Rails-core] Re: About HTML attributes with the value 'false'

2008-11-13 Thread Mislav Marohnić
2008/11/14 <[EMAIL PROTECTED]> > f.hidden_field :some_boolean_attribute > > when the value is false, it gets turned into value = "", which gets turned > into nil by attributes=. Does it break something of yours? So it's about boolean fields and form serialization. Got it. No, nothing broke for

[Rails-core] About HTML attributes with the value 'false'

2008-11-13 Thread Mislav Marohnić
I'm puzzled by this latest commit: "Tag helper should output an attribute with the value 'false' instead of omitting the attribute, if the associated option is false but not nil." http://github.com/rails/rails/commit/4e9abdd7f1b4e05f8d1b50ddaa080b3ff63b92d9 What was the reason for this? How does i

[Rails-core] Small construct_finder_sql refactor to support plugins

2008-11-13 Thread Will Bryant
Hi guys, We don't have functionality like (for example) lazy-loading of BLOB and TEXT columns in core, nor excluding things like search vector pseudo-columns. These have a pretty big impact on performance, especially when you look into the mysql internals. Rather than add this functionality to co

[Rails-core] Re: auto_link failing on URLs with square brackets in query params

2008-11-13 Thread Mislav Marohnić
On Tue, Nov 11, 2008 at 21:48, Frederick Cheung <[EMAIL PROTECTED]>wrote: > > > I'd say: let's autolink everything that starts with "https?://" or > > "www." up to the first whitespace or punctuation character before > > the whitespace *if* that character isn't a closing parenthesis or > > bracket

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-13 Thread Chad Woolley
On Thu, Nov 13, 2008 at 12:25 PM, Adam Greene <[EMAIL PROTECTED]> wrote: > If I'm the only one who was bit by this issue, then so be it. But if > it keeps coming up, putting the full gem (with the extra 2.6 megs and > hundreds of files; yes it is a beast!) into vendor/ doesn't seem to be > all th

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-13 Thread Adam Greene
Good conversation! Geoff, it sounds like there is not an easy solution except perhaps if you bundle a version like 0.3.11 but rails *requires* 0.3.9, use ~>0.3.9 for the config.gem version rather than always incrementing it to 0.3.11. But that could create additional issues like missing a depend

[Rails-core] Re: disabling shell-exec functions.

2008-11-13 Thread Michael Koziarski
You should ask this on the passenger lists, this list is for the development of rails itself, not questions about how to use it. http://groups.google.com/group/phusion-passenger On Thu, Nov 13, 2008 at 11:00 AM, Odium <[EMAIL PROTECTED]> wrote: > > Hi, > > i use mod_passenger to provide some RoR

[Rails-core] disabling shell-exec functions.

2008-11-13 Thread Odium
Hi, i use mod_passenger to provide some RoR applications. mod_passenger is running as Apacheusers and compared to a cgi-process there are too much rights for Apacheuser. I try to find a way to disable shell-exec functions for RoR Application. Is there a way to realize this? In PHP a can do this b