search for: distriker

Displaying 5 results from an estimated 5 matches for "distriker".

2011 Jun 15
11
Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
...lize my local rails server but I haven''t can, because when I write "rails server", show me this message: => Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'': wrong number of arguments (2 for 1) (ArgumentError) from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/depe...
2011 Jun 11
7
"Stack level too" deep with @controller.hi
Hi again, sorry for many questions. In mi HomeController, I have the "hi" method, in this method I use an "if" for show a different message for a registered user or a guest. When I call in "home/index" my method "hi", show me this error message: "Stack level too deep" class HomeController < ApplicationController def hi if (current_user)
2011 Jun 09
8
Fail to call
Hi, I''m trying create a user system for a future project but I have a problem when I want give to my users the "Welcome". This is my code: #application_controller class ApplicationController < ActionController::Base protect_from_forgery helper_method :current_user private def current_user_session return @current_user_session if defined?(@current_user_session)
2010 May 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I write this in the console: [console] rake db:migrate [/console] And say me: [console] (in /home/distriker/Documentos/public_html/crf) !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql (See full trace by running task with --trace) [/console] I do a trace and show this: [console] (...
2011 Jun 21
2
`exec': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me this: You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle exec. Then, I use a bundle exec, but I have other error: `exec'': wrong number of arguments (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in