search for: nilifi

Displaying 2 results from an estimated 2 matches for "nilifi".

Did you mean: kilifi
2008 Aug 24
2
config.after_initialize and development mode
...after_initialize do ActiveMerchant::Billing::Base.mode = :test OrderTransaction.gateway = ActiveMerchant::Billing::PaypalGateway.new(...) end I''m assuming this is is due to the model reloading after each request in development mode, right? When that happens OrderTransaction.gateway is nilified. Is there a way to prevent a model from being reloaded in development mode, and is this the best way to handle the problem. Thanks! Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...
2006 Sep 16
0
file_column - on_save Proc and marsheling
Hi All, Using file_column, when I set a file_column field to nil file_column adds an on_save method using a Proc. This blows away marshalling and hence the ability to store this model into a session once I have nilified the field. def on_save(&blk) @on_save ||= [] @on_save << Proc.new end Has anyone got a fix or workaround for this? I am using file_column 0.3.1 Thanks, Serge --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscrib...