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

Rails 4 #407

Merged
merged 3 commits into from
Mar 10, 2015
Merged

Rails 4 #407

merged 3 commits into from
Mar 10, 2015

Conversation

warp
Copy link
Member

@warp warp commented Jan 19, 2015

No description provided.

@@ -14,7 +14,7 @@ class Admin::ApplicationController < ApplicationController
def auto_complete
@query = params[:auto_complete_query]
@auto_complete = klass.text_search(@query).limit(10)
render :partial => 'auto_complete'
render partial: 'auto_complete'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@ain
Copy link
Contributor

ain commented Jan 21, 2015

👍

@steveyken steveyken merged commit bc55f2a into master Mar 10, 2015
@CloCkWeRX CloCkWeRX deleted the rails4 branch November 1, 2019 04:19
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.

4 participants