[Rails-core] Accessing loaded_plugins from initializer?

2008-06-06 Thread Pedro Mariano Belo
Hey guys, Isn't it possible to access Rails::Initializer after it ran? For instance, I want to see which plugins were loaded but I can't do Dir["#{RAILS_ROOT}/plugins/*"] because I'm using another plugin loader. What's the "official" way the framework is using to get data from the Initializer?

[Rails-core] Re: Problems with schema.rb?

2008-06-06 Thread John D. Hume
On Fri, Jun 6, 2008 at 5:47 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > I assume you ran the migration by running rake db:migrate. He said as much in his message. > But you can also use rake db:test:prepare to copy the schema of the > development environment from the development database to t

[Rails-core] Re: Problems with schema.rb?

2008-06-06 Thread Rick DeNatale
On Thu, Jun 5, 2008 at 11:07 AM, Leonel Freire < [EMAIL PROTECTED]> wrote: > > I'm having problems (acctually diferences) in the generated databases by > Rails. Here's my database.yaml: > ... > After applying the migrations I have: > > mysql> use gemarco_development; > Database changed > mysql> de

[Rails-core] Re: FAILSAFE error after upgrade to Ruby 1.8.7

2008-06-06 Thread Xavier Noria
On Fri, Jun 6, 2008 at 9:46 PM, Jeremy Kemper <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 6, 2008 at 10:19 AM, Xavier Noria <[EMAIL PROTECTED]> wrote: >> After I upgraded to Ruby 1.8.7 no request works (tested in a couple of >> apps with different Rails versions): >> >> http://pastie.org/210260 >>

[Rails-core] Re: FAILSAFE error after upgrade to Ruby 1.8.7

2008-06-06 Thread Jeremy Kemper
On Fri, Jun 6, 2008 at 10:19 AM, Xavier Noria <[EMAIL PROTECTED]> wrote: > After I upgraded to Ruby 1.8.7 no request works (tested in a couple of > apps with different Rails versions): > > http://pastie.org/210260 > > Does that ring any bell? I've diffed standard cgi.rb in > ruby-1.8.6-p114 and 1.

[Rails-core] FAILSAFE error after upgrade to Ruby 1.8.7

2008-06-06 Thread Xavier Noria
After I upgraded to Ruby 1.8.7 no request works (tested in a couple of apps with different Rails versions): http://pastie.org/210260 Does that ring any bell? I've diffed standard cgi.rb in ruby-1.8.6-p114 and 1.8.7 and see nothing relevant. --~--~-~--~~~---~--~~

[Rails-core] Re: Need help with Decryption using blowfish CBC

2008-06-06 Thread Sam Granieri, Jr
This may be a question better suited for a ruby mailing list. On Jun 6, 2008, at 8:24 AM, FrikShun wrote: > > Hello all, > > Hoping someone can help me out here. I've burned almost a week trying > to figure out how to decrypt > an image file that has been encrypted using Blowfish CBC. > > I fou

[Rails-core] Need help with Decryption using blowfish CBC

2008-06-06 Thread FrikShun
Hello all, Hoping someone can help me out here. I've burned almost a week trying to figure out how to decrypt an image file that has been encrypted using Blowfish CBC. I found some code on the net and have modified as follows: require 'openssl' require 'digest/sha1' ivArr = [0x0D,