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

"Too many open files" error on sortable nested_models #40

Closed
gabriel-cardoso opened this issue Sep 21, 2015 · 3 comments
Closed

"Too many open files" error on sortable nested_models #40

gabriel-cardoso opened this issue Sep 21, 2015 · 3 comments
Labels

Comments

@gabriel-cardoso
Copy link
Contributor

To reproduce the bug:

  • Create a model A with Paperclip and make it sortable with acts_as_orderable
  • Nest this model in another model B
  • Add 15 entries of A in B
  • The 16th entry should raise the error

Removing acts_as_orderable do not generate this error.

Hotfix:

Add Rack::Utils.multipart_part_limit = 0 to application.rb

@vala
Copy link
Contributor

vala commented Nov 29, 2015

Removing acts_as_orderable do not generate this error.

Do you mean that removing acts_as_orderable removes the error too ?

@gabriel-cardoso
Copy link
Contributor Author

Yes. Everything works fine if model A is not sortable.

@vala
Copy link
Contributor

vala commented Apr 8, 2016

@vala vala closed this as completed Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants