I'm looking at the Kissmetrics (analytics app) JS API docs, and they have an "identify" method that lets you tell Kissmetrics about a user. Here's what their docs say:     We recommend you call identify in two scenarios:      When a u...
I cant seem to remove an annoying popup message which appears whenever an email address is invalid during the registration process.  I'm using Devise and I have tried removing :validatable but yet the message still pops up. Its must be javascript...
Curious as to how people usually handle this.  My strategy is to have an authorized root route and unauthorized root route.  The authorized users get sent directly to my marionette.js single page application and unauthroized users get sent into a sta...
I am using Rails-api to make a test authentication app which uses Devise_token_auth gem. The User.rb model looks like  class User < ActiveRecord::Base     before_save :set_auth_token    # Include default devise modules.   devise :database_authenti...
I am using the judge gem to do client side validation of form inputs, but I am having some problems validating the email attribute in my User model. I am using devise's validatable module to perform validation of the uniqueness of the email as we...
I was working with Devise in Rails and while setting up the sign_out function I run into errors. I noticed than, it happened because pages which have sign_out link skipped layouts so Javascript was inactive. By enabling javascript with:`  <%= java...
I have a controller:  class SessionTimeoutController < ApplicationController   # snip    skip_before_filter :authenticate_user!, only: [:has_user_timed_out]    #snip    # Determines whether the user has been logged out due to   # inactivity or not...
I'm trying to do something very similar to this question...  In summary, I have voting logic on a page, but to vote, I require you to sign in.  The voting logic for a signed in user simply does a :method => :post, :remote => true call to a...
I have a javascript bookmarklet which used to work as a single user mode. So how it used to work is I would click on my bookmarklet on the browser, and it would inject a remote javascript on my server. This second javascript in turn makes an ajax cal...
I am trying to implement ajax on Devise's Reset Password page. The email submitted just fine, but I cannot get any javascript response to be displayed and I also get the error of  ArgumentError (Nil location provided. Can't build URI.)  Here...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.