I have installed the Gem Ahoy as per the instruction in the link -> http://ift.tt/1euzW8q
Add this line to your application’s Gemfile:
gem 'ahoy_matey'
And add the javascript file in app/assets/javascripts/application.js after jQuery.
//= require jquery
//= require ahoy
MySQL or SQLite
Add activeuuid to your Gemfile.
gem 'activeuuid', '>= 0.5.0'
And run:
rails generate ahoy:stores:active_record
rake db:migrate
The visit.rb module gets created fine but on rails console, I get 'Table doesn't exist' error
Visit
=> Visit(Table doesn't exist)
How can I configure Ahoy with my Ruby application
Aucun commentaire:
Enregistrer un commentaire