Displaying 20 results from an estimated 600 matches similar to: "active record wants root password, not sure why .."
2006 Nov 07
1
Memory consumption too high
Hi,
I''m having trouble with ferret and AAF blowing up with a NoMemoryError.
Sometimes when I add documents inside my rails app. Ferret starts
consuming huge amounts of memory. I''m on a machine with 2GB of memory
and it still runs out of memory. Sometimes I''m able to run
MyObject.rebuild_index and the memory doesn''t move up at all. However,
sometimes it
2013 Mar 28
1
undefined method 'sanitize_limit' for #<ActiveRecord::Relation:0x2aaaad35d720>
I am trying to upgrate rails from 3.0 to 3.1, while updating rails version
I am getting following error
rake aborted!
undefined method `sanitize_limit'' for
#<ActiveRecord::Relation:0x2aaaad35d720>
/some_package/lib/ruby/gems/1.8/gems/activerecord-3.1.12/lib/active_record/relation.rb:460:in
`method_missing''
2011 Jul 27
0
require specific version of active record
I have been having a strange problem with including active record
outside of rails when it works ok in rails 3.0.3.
When I do ''gem list'', I get this:
actionmailer (3.0.9, 3.0.3)
actionpack (3.0.9, 3.0.3)
activemodel (3.0.9, 3.0.3)
activerecord (3.0.9, 3.0.3)
activeresource (3.0.9, 3.0.3)
activesupport (3.0.9, 3.0.3)
So then I tried the code below, but I get this error:
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
Hi all...
The linux box I am working on I do not have root access to, and given I
am at a government site all hope of that is lost.
I have installed the mysql gem as follows:
env ARCHFLAGS="-arch x86_64" gem install mysql --
--with-mysql-config=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/bin/mysql_config
2011 Sep 09
0
[BUG] require on Windows fails
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
A friend of mine tried using RedCloth on Windows as part of a project
I introduced hin to, but RedCloth failed to require. This is what he got:
======================================================================
c:\Ruby192\msysgit\msysgit\OpenRubyRMK\karfunkel>bundle exec rake
- --trace rdoc
rake aborted!
no such file to load --
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
Hi I am a new to ROR and learning this framework from various tutorials.
I have my new application and had the rails generate scaffold get going
but after this when I first ran the rake db:migrate I got this ERROR!
ORA-12514:
TNS:listener d
oes not currently know of service requested in connect descriptor
(OCIError)
I''m using database which is on a server and have used the tnsnames.ora
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
if i run rails serve i am fa
C:\forex>rails server
=> Booting WEBrick
=> Rails 3.0.0 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb:17:in
`initialize'': wrong number of arguments (0 for 1) (ArgumentError)
2011 Apr 09
1
Problem with "open_id_authentication" plugin
I just install the plugin.
I didn''t do anything first ( should I? ).
And try "rails server"
And this is what I got (error part):
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in
`require'': no such file to load -- openid (LoadError)
from
2011 Jul 25
4
Rails 3 test database issues
I am having a problem using the test database in Rails 3. It
apparently has kept track of aspects of the database that I deleted
completely from my migrations at some point. I don''t always use the
''down'' part of a migration and sometimes just recreate the whole
database. I did rake db:migrate:reset and rake db:test:prepare, but
when I run my test it is trying to access
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
2010 Nov 20
4
How to get rspec running?
I''m quite new to RoR and recently worked through Michael Hartl''s Rail
Tutorial. Now that I had started my first own project and began with the
implementation of a first model and it''s controller. The tests I wanted
to implement just after that. However, I run into some error messages
when I want to start rspec (see below).
The Gemfile is the same as in the Tutorial
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing
mysql2 gem on my windows 7 OS. I checked several forums for solutions
but still couldn''t get that installed. can someone help my out please?
below is the error:
c:\>gem install mysql2
Building native extensions. This could take a while.
ERROR: Error installing mysql2:
ERROR: Failed to build gem native
2010 Oct 13
1
rails 3 with mongodb
Hi.
I would like to configure a application in ruby 1.9.2 + rails 3 +
mongodb on windows vista.
I know it''s work better in linux ou mac, but in my job i need to use
win.
I folowed the steps from the site of mongodb, but when i run the
bundle install, there comes
this message below.
Someone can help me with this.
Thanks.
<internal:lib/rubygems/custom_require>:29:in
2010 Nov 25
2
no such file to load - spec/test/unit
Under the older version of rspec, I''m able to run my script successfully
by running "spec randomperform.rb"
I''ve now installed the newest rspec, and it does not work for me. If I
run the command:
rspec randomperform.rb
I get the following error:
-----
<internal:lib/rubygems/custom_require>:29:in `require'': no such file to
load --
spec/test/unit
2011 Sep 09
1
i need help.please anyone can help me out witth this.
I installed ruby on my pc...then after that i got lib not found as one
error when i was installing rails... further all steps worked like
installing sqlite3 and creating test application...but wen i gave a cmd
called rake db:migrate, i got errors like these- rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
D:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in
2010 Aug 22
7
Rails 3: Error saving an object with no useful information
Hey,
I''m kinda desperate cause I''m getting an error and have no idea how to
fix this since it doesn''t give me any information hinting where the
problem is:
irb(main):054:0> reload!;User.last.save!
Reloading...
NameError: undefined local variable or method `to_ary'' for
#<User:0x4ed5d20>
from
2011 Jan 06
4
Not able to insert value in rails console
I am using authlogic for authentication in rails 3.0.3 with ruby 1.9.2
Using activerecord-sqlserver-adapter (3.0.5)
windows with sqlserver database
when i create user details in rails console, i am getting below error,
>User.create(:login=>''test'',:password=>''test123'',:password_confirmation=>''test123'')
2009 Aug 28
0
Error connecting to Sybase (odd)
I have activerecord-sybase-adapter installed -- and Sybase itself, so I
have the drivers.
In irb or in the rails console, this works:
ActiveRecord::Base.establish_connection(
:adapter => “sybase”,
:database => “mydb”,
:host => “myhost”,
:myport => myport,
:username => “read_only”,
:password => “read_only”)
In Rails, I have this in my database.yml:
pacs:
adapter: sybase
2009 Sep 30
1
Can't connect with MySQL database
I just installed MySQL and its drivers on a Mac OS X Leopard. When I
issued my rails command to build a new app, then issued the script/
server command and connected to my localhost:3000 in the browser, I
saw the following problem with MySQL.
I changed/updated the PATH in nano, and it can see MySQL fine. So I
really don''t understand the problem.
Can you tell me what I need to do?
Thank
2009 Sep 08
2
Rails + Sybase ASE : group effort, please
Here''s what I have:
Ruby 1.8.7
Rails 2.3.3 (activerecord 2.3.3, etc)
activerecord-sybase-adapter ( http://itsignals.cascadia.com.au/?p=23 )
Here is the base code (login info was changed to protect me)
require ''rubygems''
require ''activerecord''
a = ActiveRecord::Base.establish_connection(
:adapter => "sybase",
:host =>