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

Conflict with Cocoon #19

Closed
EmmaB opened this issue Sep 2, 2011 · 1 comment
Closed

Conflict with Cocoon #19

EmmaB opened this issue Sep 2, 2011 · 1 comment

Comments

@EmmaB
Copy link

EmmaB commented Sep 2, 2011

Hi there,

The CoffeeScript in the Ransack demo conflicts with some code in the Cocoon gem, FYI: http://rubygems.org/gems/cocoon

var new_content = content.replace(regexp_braced, '[' + new_id + ']');

Renaming add_fields to add_s_fields is a quick workaround.

@ernie
Copy link
Contributor

ernie commented Sep 2, 2011

Hi Emma -- the demo code is just for example's sake. You did the right thing to apply a project-specific fix in your case. Thanks for the note, though! I'll keep it in mind if someone else mentions the same thing.

@ernie ernie closed this as completed Sep 2, 2011
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

2 participants