Did you use devise’s before action in your controller?
before_action :authenticate_user!
More Related Contents:
- Always getting 401 Unauthorized with new install of Rails + Devise
- Customizing Devise error messages in Rails 3?
- do..end vs curly braces for blocks in Ruby
- No route matches “/users/sign_out” devise rails 3
- ActiveRecord: size vs count
- Connecting Rails 3.1 with Multiple Databases
- In Ruby on Rails, to extend the String class, where should the code be put in?
- Rails 3: Get Random Record
- incompatible character encodings: ASCII-8BIT and UTF-8
- Devise form within a different controller
- STI, one controller
- Devise limit one session per user at a time
- How to get a query string from a URL in Rails
- Rails 3 disabling session cookies
- How to get a Date from date_select or select_date in Rails?
- counter_cache with has_many :through
- Heroku not sending email with Gmail SMTP
- How can I specify a local gem in my Gemfile?
- Paginating an Array in Ruby with will_paginate
- What is the right way to override a setter method in Ruby on Rails?
- Convert HTML to word file ?
- How to define action with simple form for?
- Ruby: problem installing EventMachine under Windows 7
- Rails 3 – Speed up Console Loading Time
- Rails Devise: after_confirmation
- Why is Rspec saying “Failure/Error: Unable to find matching line from backtrace”?
- Rails 2 to Rails 3 : using link_to instead of link_to_remote (including remote and update)
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?
- Ruby 1.9.2 and Rails 3 cannot open rails console
- Why should we avoid using class variables @@ in rails?