- Implement state filtering in the CitiesController - Add new scope `by_state` in the City model - Update cities index view to include state dropdown - Add slug column to states for friendly URLs - Update English locale to include 'All States' This commit enhances the cities index page by allowing users to filter cities based on the selected state. It introduces a new scope in the City model for state filtering and updates the view to present a dropdown for state selection. Additionally, it adds a slug column to the states table to support friendly URLs, improving the overall user experience. |
||
---|---|---|
.github | ||
.kamal | ||
app | ||
bin | ||
config | ||
db | ||
lib | ||
log | ||
public | ||
script | ||
storage | ||
test | ||
tmp | ||
vendor | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.node-version | ||
.rubocop.yml | ||
.ruby-version | ||
compose.yaml | ||
config.ru | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
package.json | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
tailwind.config.js | ||
yarn.lock |
README
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...