Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple_record with paperclip plugin #2

Open
vlod opened this issue Nov 28, 2009 · 3 comments
Open

simple_record with paperclip plugin #2

vlod opened this issue Nov 28, 2009 · 3 comments

Comments

@vlod
Copy link

vlod commented Nov 28, 2009

Hi.
Great plugin btw, thanks for your work in this!

I'm trying to use simple_record and paperclip (http://github.com/thoughtbot/paperclip) and getting an error: undefined method `validates_each'

Any chance you can make simple_record more compatible with paperclip? It would be awesome if I could provide file upload to my rails app.

Or do you another file-upload plugin instead?

Thanks again

@appoxy
Copy link
Collaborator

appoxy commented Dec 1, 2009

@vlod
Copy link
Author

vlod commented Dec 2, 2009

I saw that, but I don't think simple_record supports that ActiveRecord functionality does it?

Paperclip calls that functionality in a simple_record inherited object and it's failing.

@appoxy
Copy link
Collaborator

appoxy commented Dec 2, 2009

Hi vlod, that last comment was for my own reference. ;) I'll look into adding validates_each or if you could provide a patch, would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant