[Rails] rails console : (colon) prompt

2018-07-20 Thread fugee ohu
I'm using pry-rails gem and when I run some command console returns a : (colon) prompt What does it mean? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Rails] rails console in replace mode

2015-04-27 Thread Colin Law
On 27 April 2015 at 05:46, Rakesh PD wrote: > my rails console is always in replace mode, (when i press left arrow then > all character get deleted), how to fix this ? It would probably be helpful if you told us which operating system you are using, which terminal s/w, and which version of ruby

[Rails] rails console in replace mode

2015-04-27 Thread Rakesh PD
my rails console is always in replace mode, (when i press left arrow then all character get deleted), how to fix this ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, se

Re: [Rails] Rails console gets exception when loading oci8. Rake and irb work ok

2014-10-21 Thread Colin Law
On 21 October 2014 01:03, minki wrote: > OCI Library Initialization Error I don't personally know the solution but I note that googling for OCI Library Initialization Error yields a fair number of hits, including, for example, the fact that it is necessary to have ORACLE_HOME defined. If it is n

[Rails] Rails console gets exception when loading oci8. Rake and irb work ok

2014-10-21 Thread minki
I am trying to connect to an existing Oracle EX 10g database. Rake and oci seem to work, but rails console crashes. Some stuff about my environment: - Centos 5.8 - Ruby 2.0.0p481 - Rails 4.1.6 - Oracle Database 10g Express Edition Release 10.2.0.1.0 Gems - activerecord-oracle_

[Rails] Rails console Association error

2014-01-27 Thread Paul Kioko
I have tried to use the rails console to run the following: Teamplayer.includes(:live_player) It tells me: Association named 'live_player' was not found on Teamplayer; perhaps you misspelled it? so the tables are named live_players and teamplayers respectively. There is also another table called

[Rails] Rails console eats my query trace

2012-08-11 Thread Andrew Vit
I understand that the default since 3.1 is not to log to development.log anymore and simply display SQL inline in the console (STDOUT). This is fine with me, and I know I can change it by reassigning the `ActiveRecord::Base.logger` to e.g. `Rails.logger`. However, I can't seem to get any of the

[Rails] Rails Console Sandbox : .save | .create

2012-05-24 Thread Francesco De Grandi
At the end of Rails Tutorial chapter 6, I have the development .sqlite3 db : 1 table and 1 row (= user id:1 see below) : > when running from the Rails Concole Sandbox, to create other rows/records, I > can not save or create > here is what I get - Rollback - without even exiting the Rail Console !

[Rails] rails console is not working

2012-03-02 Thread Anurag Sachan
I got this error in my terminal when i type rails c: -- anurag@anurag-Compaq-Presar

[Rails] Rails console error

2011-10-13 Thread Rahul Attuluri
Hi, I'm getting the following lines when I tried to open rails console: /home/rahul/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/ assertions.rb:6:in `': Test is not a module (TypeError) Please help me how to correct it. Thanks in advance. Regards, Rahul -- You received this mess

[Rails] rails console not working with my application

2011-01-06 Thread Sawan T.
Hi I have couple of issues with my application. I have an app checked out from a repository on to my local machine. rake commands like rake db:create and rake db:migrate and gem list, gem install are working with the app but not any other commands like rails generate scaffold User username:string,

Re: [Rails] rails console and tests launch time too long?

2010-10-17 Thread Rajinder Yadav
On 10-10-16 07:03 AM, Michal Burak wrote: When I run script/console I have to wait like 10 seconds to the console to start. When I run any of the tests in my rails app ('rake test' or whatever else like AltShiftX+U in RadRaild) I also have to wait about 7-10 seconds for the testing itself to sta

[Rails] rails console and tests launch time too long?

2010-10-16 Thread Michal Burak
When I run script/console I have to wait like 10 seconds to the console to start. When I run any of the tests in my rails app ('rake test' or whatever else like AltShiftX+U in RadRaild) I also have to wait about 7-10 seconds for the testing itself to start. This slows down my continues-developmen

Re: [Rails] rails console not loading my model properly.

2010-01-29 Thread Hassan Schroeder
On Fri, Jan 29, 2010 at 2:09 PM, junkone1 wrote: > > You can see below that when i load the console, it is not loading my model > Comparetick. > however after i perform a manual require, it is loading it correctly. i am > not sure where to look for the issue. >>> Dir.glob(RAILS_ROOT + '/app/model

[Rails] rails console not loading my model properly.

2010-01-29 Thread junkone1
You can see below that when i load the console, it is not loading my model Comparetick. however after i perform a manual require, it is loading it correctly. i am not sure where to look for the issue. E:\TradingTools\Development>ruby script\console ./script/../config/boot.rb:20:Warning: Gem::So

[Rails] Rails Console Question ?>

2008-12-18 Thread James Byrne
OS = CentOS-5.2 Ruby = 1.8.6 Rails = 2.2.2 This may or may not be intended behaviour. $ script/console Loading development environment (Rails 2.2.2) >> ?> ?> In short, I am getting a command complete prompt if I do not enter anything on a line. To get out of it I have to C. I have been worki

[Rails] Rails console

2008-10-30 Thread Farrel
I tried to create an addition to Enumerable called choose_randomly that picks a random element from the Enumerable object. However when I define it and execute the code rand complains about the wrong number of arguments. Below is a capture of the ./script/console session. [EMAIL PROTECTED] ~/Work

[Rails] Rails console, saving objects

2008-10-06 Thread Raistlin Majere
I was reading a book and following the instructions in it. >> class Story < ActiveRecord::Base; end => nil >> story = Story.new => # >> story.class => Story(id: integer, name: string, link: string, created_at: datetime, updated_at: datetime) I do not remember me asking for id, name, link or url,