[Rails] Re: Turbolinks not working

2015-12-03 Thread Jeremy Montesinos
Up ! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to

[Rails] Re: Turbolinks not working

2015-12-03 Thread Jeremy Montesinos
The Html : Créer un incident - Tick{Master} TickMaster Nouvel incident Incidents Mes incidents http://localhost:3000/incidents";>Tous les inciden

[Rails] Turbolinks not working

2015-12-02 Thread Jeremy Montesinos
Hi, i'm working on a project in Rails. When I click on a "link_to" button turbolinks is not working. But when I create a "" link, it's working ! Why ? I use Google chrome for look if it working. But in firefox it's not working too. My app.js : // //= require jquery //= require bootstrap-sprockets

[Rails] Re: Rails uniqueness email

2015-03-18 Thread Jeremy Montesinos
J'ai du nouveau ! Apparement c'est le *attr_accessor* qui mettait la pagaille ! Merci à tous ! :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonr

[Rails] Re: Rails uniqueness email

2015-03-18 Thread Jeremy Montesinos
Le message d'erreur c'est ça : $ rspec spec/ FF.. Failures: 1) User devrait rejeter les emails doubles Failure/Error: user_duplicate.should_not be_valid expected # not to be valid # ./spec/models/user_spec.rb:58:in `block (2 levels) in ' 2) User devrait

[Rails] Rails uniqueness email

2015-03-17 Thread Jeremy Montesinos
Salut à tous, je suis en train de créer une application avec Rails 4.2. J'ai un souci d'unicité. Je voudrais vérifier qu'une adresse email n'est pas en double dans la base de données et voici comment je fais : app/models/users.rb # == Schema Information # # Table name: users # # id :i