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
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
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
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
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_
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
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
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 !
I got this error in my terminal when i type rails c:
--
anurag@anurag-Compaq-Presar
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
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,
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
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
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
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
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
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
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,
18 matches
Mail list logo