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

rollout_ui is incompatible with rollout > 2.1.0 #35

Open
sophiedeziel opened this issue Mar 17, 2016 · 1 comment
Open

rollout_ui is incompatible with rollout > 2.1.0 #35

sophiedeziel opened this issue Mar 17, 2016 · 1 comment

Comments

@sophiedeziel
Copy link

I updated all my gems this week and I had a problem with rollout and rollout UI.

That error showed up in the view:

undefined method `join' for #<Set: {}>
/Users/sdeziel/.rvm/gems/ruby-2.2.4@express/gems/rollout_ui-0.3.0/lib/rollout_ui/engine/app/views/rollout_ui/features/_feature.html.erb:31

The faulty line:

<input class="users" type="text" name="users[]" value="<%= feature.user_ids.join(",") %>" data-placeholder="Enter User ID" />

I looked into rollout changes and since v2.2.1, Set is used instead of Array for users.
fetlife/rollout@5b2615e

sophiedeziel added a commit to sophiedeziel/rollout_ui that referenced this issue Mar 17, 2016
@sarahjschultz
Copy link

+1 to this issue -- seeing it in our project as well.

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