similar to: Redirect to the url after login

Displaying 20 results from an estimated 4000 matches similar to: "Redirect to the url after login"

2010 Feb 05
1
Encrypting the password using Authlogic
Hi, I am using "Authlogic" for user authentication. I have a excel file into which I have user deatils. I have to migrate those details to the "users" table. For that I have written a script which goes through the excel file and store the data into "users" table. My code is like this:- user=User.new user.password="password"
2010 Feb 04
2
Encrypt a user password using "Authlogic"
Hi, I have a csv file which have the user detail. I want to migrate this information into the "users" table. My application use "Authlogic" for user aunthentication so I have to encrypt the password during migration. I have written the script which is reading the csv file and adds the record into "users" table, it is working fine. But I am not able to encrypt the
2009 Dec 23
0
Migration from the "Restful Authentication" to "Authlogic"
Hi, I am using Authlogic for authentication. Previously our application having a "Restful Authentication". We have users who are created by using the "Restful Authentication". My problem is these users will not able to login with Authlogic as the password encryption methods are different for both and I am getting "Password not valid" error. So I searched for that and
2009 Dec 24
2
Showing graphs on browser with gruff lib.
Hi, I am using "gruff" lib for creating the graphs. I have got the success to create the graph, but my problem is I don''t want to store it, I want that they should be displyed on the browser it self. I have tried this:- " send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename =>
2010 Jun 07
3
Model validation giving problem
Hi, I have a member registration form which takes a "Name", "Login", "Password", "Confirm Password" and "Location". In the user model I have added the validation validate_uniqueness_of :login, validate_presence_of :password, :name, :confirm_password. When the member tries to register every thing working fine. I am using same form for user to edit
2011 Mar 02
3
Couldn't find 'rspec' generator
Hi, I am trying to learn the RSpec but unfortunately I found all the tutorials which are very old. Is anyone have latest tutorial? I am following some tutorial, I have followed the following steps:- 1) gem install rspec 2) gem install rspec-rails 3) ./script/generate rspec I am getting an error that "Couldn''t find ''rspec'' generator" I have searched for this
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
Hi, I am using ruby 1.9.2 and rails 3 for my application. I have written a bash script which I want to run in cron. If I directly run the bash file it runs. If I run it through the cron I get the following error:- "/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'': no such file to load -- rails/commands/runner (LoadError) from
2011 Mar 03
1
Cucumber not inserting record in db
Hi, I am trying to learn Cucumber. I have followed the tutorial on "http://www.ultrasaurus.com/sarahblog/2008/12/rails-2-day-3-behavior-driven-development/" Everything is working fine but my problem is it is not inserting any record in either development or test database. Can anyone tell me IS it the behaviour of the Cucumber or Am I missing something? Thanks, Tushar -- Posted via
2009 Mar 31
9
Application without database.yml
Hi, I have created one application. In that application I am not using any database. Whenever I starting rails server it is giving me an error for configuration of database.yml. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2010 Jun 21
1
in `const_missing': uninitialized constant CGI::Session
Hi, I have an application which previously running on rails 2.2.2. I just upgraded the rails to 2.3.8. After that I tried to start the server I got the following error:- "/usr/local/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing'': uninitialized constant CGI::Session (NameError" Anyone have any idea How to solve this
2011 Feb 17
1
Adding images for pagination links in will_paginate
Hi, I am using will_paginate for pagination. I have to show only Previous and Next links, that I have achieved by ":page_links=>false" parameter. Now I want to show the images instead of "Previous" and "Next" labels. Can anyone tell how to achieve this in will_paginate? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. -- You received this message
2009 Apr 27
5
ruby jasper report
Hi, I am trying to create a pdf using ruby jasper. For this I am referring this url:- http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports I have done everything whatever is in that link. Still I am not able to get the pdf. I am not getting any error in log file. My log file is:- "Processing AccountController#customer_report (for 127.0.0.1 at 2009-04-27 13:19:34) [GET]
2010 Jun 08
2
gem install mysql giving error on linux
Hi, I have mysql installed on linux. Whenever I am trying t "gem install mysql -- --with-mysql-dir=/usr/bin/mysql" I am getting following error:- Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb --with-mysql-dir=/usr/bin/mysql checking for mysql_ssl_set()... ***
2011 Jan 04
1
Problem with "date_select" form helper
Hi, I am using "date_select" form helper to select the date. My code is as follows:- <%=date_select("post", "written_on", :prompt => { :day => ''Select day'', :month => ''Select month''}, :discard_year=>true)%> It works. But there is problem with the number of days for each month. The days combobox has populated with
2012 Jan 26
1
[LLVMdev] How to get trace using llvm?
Hello, I am trying to get the trace by running my sample program using llvm. I was referring following link for lli: http://llvm.org/releases/1.0/docs/CommandGuide/lli.html after that I installed llvm and llvm-gcc. Here is the version detail: tushar at tushar-mehta:~/NUS/os_project/tryout$ lli -version Low Level Virtual Machine (http://llvm.org/): llvm version 2.8 (Ubuntu 2.8-0ubuntu1)
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2009 Jun 13
5
undefined method `valid_password?'
I''m trying to set up the authlogic gem for rails, just after logging my user I get this weird error: NoMethodError in Usuari sessionsController#create undefined method `valid_password?'' for #<Usuari:0xb69b9a54> RAILS_ROOT: /home/cocozz/dev/enruscats Application Trace | Framework Trace | Full Trace
2011 Jun 16
2
Authlogic: Trying to login in my Cucumber test - Authlogic::Session::Activation::NotActivatedError
In a Cucumber step definition, I''m trying to login, but I keep getting this error: You must activate the Authlogic::Session::Base.controller with a controller object before creating objects (Authlogic::Session::Activation::NotActivatedError) My code: Given /^I am the logged in (.+) "(.+)"$/ do |role, login| user = User.create!( :login => login, :password =>
2009 Sep 20
2
[Authlogic]
After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when trying to use my webpage; it comes up with an error ''undefined method `^'' for "e":String''. I''ve double checked the lines in the Authlogic code (see codepad urls for the tracelog), but I can find no trace of any "^" in the code anywhere. The methods that result in
2008 Oct 14
1
Starting Server gives an error
Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initialized constant OPTIONS E:/demo/vendor/rails/activesupport/lib/active_suppo rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo