[Rails] `exec': wrong number of arguments (ArgumentError) when using bundle exec

2011-06-21 Thread Distriker
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

[Rails] Problems with wrong number of arguments (2 for 1) (ArgumentError) and rails server

2011-06-15 Thread Distriker
Hi, I'm trying initialize 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

[Rails] Stack level too deep with @controller.hi

2011-06-11 Thread Distriker
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

[Rails] Fail to call

2011-06-09 Thread Distriker
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

[Rails] Rake Aborted! db:migrate

2010-05-28 Thread Distriker
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

[Rails] [Newbie question] How does map.root?

2010-05-21 Thread Distriker
Hello, I am very ill and I don't remember how does map.root. I have this in the routes.rb: ruby code ActionController::Routing::Routes.draw do |map| map.signup 'signup', :controller = 'users', :action = 'new' map.logout 'logout', :controller = 'sessions', :action = 'destroy' map.login

[Rails] RForum, the link is broken

2010-05-18 Thread Distriker
Hello, I am very interesting in the RForum of the Ruby Forum, and I see in the footer a link for the official website, but the link is broken. Why? Isn't it possible download more the RForum? Greetings. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] How I can install Heroku Gem?

2010-05-16 Thread Distriker
Hello, I want install the Heroku Gem and I try, and try, but I haven't successfully. Can someone help me? Sorry, but I can search in Google and I don't found nothing. Greetings -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to