/filters_example

Tiny Rails app to demo how to build your own filters.

Primary LanguageRuby

Filters Example

This is a tiny Rails app made to demonstrate how to create your own basic filtering functionality using Ransack, which I cover in this post. Check it out!

Notable Files

Running Locally

  • bundle install
  • cp config/database.yml{.example,}
  • Open 'config/database.yml' in your editor of choice and fill out with your Postgres username + password
  • Ensure Postgres is started (how-to)
  • bundle exec rake db:create db:migrate
  • rails s