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

Future Chapter Idea: Trestle Search #22

Open
janzenisaac opened this issue Apr 1, 2021 · 0 comments
Open

Future Chapter Idea: Trestle Search #22

janzenisaac opened this issue Apr 1, 2021 · 0 comments

Comments

@janzenisaac
Copy link
Contributor

Holy cow! Your catalog is packed. How on earth are you going to find anything? Add the trestle-search gem and configure it for your trestle interface.

In case you need to write your own queries for certain cases (like if you want to search by subject when you're purusing the book table), here are some resources that you may find helpful.

PostgreSQL Pattern Matching: (https://www.postgresql.org/docs/9.3/static/functions-matching.html)
Rails Query Methods: (https://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html)

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

1 participant