Drew
Joined
Activity
How do you do this to aggregate on related models? Eg: IRL brand would probably be a model, not just a label in the Television model. Also the original video included searching acts-as-taggable-on : which is a really cool feature, but how do you include that in your search filtering?
I haven't actually used it myself but you could try the Geocoder Gem and which will take an address and give you coordinates with Geocoder.coordinates(location)
Before you can customize them you need to generate them:
rails generate devise:controllers users
https://github.com/plataformatec/devise/wiki/Tool:-Generate-and-customize-controllers
Then for devise to use your generated controllers, you add a controllers option to your routes:
devise_for :users, :controllers => { registrations: 'users/registrations' }