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

Add quotes to Id in SQL requests #69

Merged
merged 2 commits into from Oct 4, 2013
Merged

Add quotes to Id in SQL requests #69

merged 2 commits into from Oct 4, 2013

Conversation

noefroidevaux
Copy link

If we use UUID as Id, we need to quote the Id in SQL requests.

@Alric
Copy link

Alric commented Oct 3, 2013

Any update on merging this, @swanandp ?

If this is not an acceptable solution, please provide feedback. I would like to see the UUID incompatibility resolved and am happy to help. Thanks.

swanandp added a commit that referenced this pull request Oct 4, 2013
…b.com:webdoc

* 'master' of github.com:webdoc/acts_as_list:
  Add missing quote for id in sql request.
  Add quote for id in sql request (for when id is a uuid string for example).

Conflicts:
	lib/acts_as_list/active_record/acts/list.rb
@swanandp swanandp merged commit 7be3ff9 into brendon:master Oct 4, 2013
@swanandp
Copy link
Collaborator

swanandp commented Oct 4, 2013

I merged it, but Travis cannot run the build on 1.8.7 because of ActiveSupport 4.x, need to iron that out.

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

Successfully merging this pull request may close these issues.

None yet

3 participants