Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Pickle not working without ActiveRecord
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zef  
View profile  
 More options Dec 10 2009, 12:37 pm
From: Zef <zefm...@gmail.com>
Date: Thu, 10 Dec 2009 09:37:52 -0800 (PST)
Local: Thurs, Dec 10 2009 12:37 pm
Subject: Pickle not working without ActiveRecord
I'm trying to use pickle in a project that does not use ActiveRecord
at all. (In my environment: config.frameworks -= [ :active_record ])

I am trying to use the factory girl adapter and I think have
configured it correctly.

Pickle.configure do |config|
  config.adapters = [:factory_girl]
end

The problem is that pickle seems to use ActiveRecord even in the
Machinist and Factory Girl adapters in the Adapter#model_classes
method. From the error backtrace:

/Library/Ruby/Gems/1.8/gems/pickle-0.2.1/lib/pickle/adapter.rb:27:in
`model_classes'

Is there another way to do this? I have removed the active record
framework from my application and it causes other errors if I include
it again.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian White  
View profile  
 More options Dec 10 2009, 1:00 pm
From: Ian White <ian.w.wh...@gmail.com>
Date: Thu, 10 Dec 2009 18:00:54 +0000
Local: Thurs, Dec 10 2009 1:00 pm
Subject: Re: [pickle] Pickle not working without ActiveRecord
Unfortunately, pickle is dependent on ActiveRecord for finding.  It's  
on the todo list to make it orm agnostic.

Cheers,
Ian

Sent from my iPhone

On 10 Dec 2009, at 17:37, Zef <zefm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zef  
View profile  
 More options Dec 11 2009, 12:26 am
From: Zef <zefm...@gmail.com>
Date: Thu, 10 Dec 2009 21:26:46 -0800 (PST)
Local: Fri, Dec 11 2009 12:26 am
Subject: Re: Pickle not working without ActiveRecord
Alright. Thank you for the info.

I'm just allowing ActiveRecord to load for now (worked around the
error I was getting with it before).

Thanks for your work!

On Dec 10, 11:00 am, Ian White <ian.w.wh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »