similar to: error in rails 1.2.3 activerecord

Displaying 20 results from an estimated 800 matches similar to: "error in rails 1.2.3 activerecord"

2006 Jul 04
3
OCIError: ORA-00918: column ambiguously defined
Hi all, when I execute the command "rake db:schema:dump" i get this error in the db/schema.rb file. ____________________________________________________ # Could not dump table "region" because of following ActiveRecord::StatementInvalid # OCIError: ORA-00918: column ambiguously defined: SELECT lower(i.index_name) as index_name, i.uniqueness, lowe r(c.column_name) as
2006 Jul 03
9
Migrations from Mysql to Oracle. PLS HELP!
Hi all, I''m using Rails/Mysql as development platform. the production server is under Rails/Oracle. Right now, i''m trying to install my application under the production server, the connection to orcale is fine via Rails, but i have a weird problem. example : here is a extract from my db scheme : Table User :_____________ id_user | first_name |
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one . Please it is urgent to me. D:\raj\tweasier>rake db:migrate --trace (in D:/raj/tweasier) DEPRECATION WARNING: Rake tasks in vendor/plugins/open_flash_chart_2/tasks, vend or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated. Use lib /tasks instead. (called from
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello -- Please pardon my newness -- I''m just getting started with rails, and I''m having some difficulty getting it set up with MySQL. I am able to get the basic ruby server running (script\server). When I created a new page (using script/generate controller about index), I am not able to navigate to the new page, and Ruby either crashes or gives me an error: /!\ FAILSAFE /!\
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All, We''re working on a project on a Windows machine that will use PDFKit to convert an HTML page to a PDF. I have followed all the instructions at GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and PDFKit, then creating the config file in ''config/initializers/pdfkit.rb'' and then finally, setting up Middleware for Rails apps in
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All, "We''re sorry, but something went wrong." is the message I got when I started up an RoR app in the environment: Rails 2.3.5 Ruby 1.8.6 WinXP-Pro/SP3 Firefox 3.6 MySQL 5.0.37-community-nt Mongrel The app under development was working fine until I (stupidly) thought I needed to upgrade MySQL to 5.1.44. I took the precaution of MySQL-dumping the development db before
2010 Mar 30
2
remove_index missed quote_table_name
in lib/active_record/connection_adapters/abstract/schema_statements.rb there is a missing quote_table_name in line 286 (def remove_index): execute "DROP INDEX #{quote_column_name(index_name(table_name, options))} ON #{table_name}" so my "keys" table can get an index with "add_index" but can''t remove it (without tweaking) replacing it to execute
2006 Apr 17
7
MySQL backticks and column names
The upgrade to Rails 1.1 hurt my ability to run tests because it generated the following MySQL error: Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''key ON config (key)'' at line 1: CREATE UNIQUE INDEX key ON config (key) I have a table called `config` with a column
2008 Mar 16
0
ar_mailer problem
Hi, I am having the following problem with ar_mailer. FOr the time being i have manualyy created a record for the email to be sent, in the database in a table named ''emails''. Now if I run ar_sendmail i get the follwing error. C:\Inetpub\event>ar_sendmail Unhandled exception uninitialized constant ActionMailer::ARMailer(NameError):
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
Hi, Then RSpec 1.4 recommends, in the webpage http://rspec.info/documentation/expectations.html, referencing the subject items. I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over WinXP-Pro/SP2. I believe I installed RSpec with a Ruby gem. At least, I think that''s confirmed because I have a lot of stuff in the directory K:\_Utilities
2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with rspec_scaffold on a demo project. and ran into the problem of mixing mock frameworks...ryan uses mocha. So, as a learning experience, I choose to redo ryan''s tests without mocha but ran into a strange problem with tests of the User model. With debugging you can see.... If you run just the user_spec.rb file, everything
2009 Jan 14
7
Utter Newbie, HELP!!!!
Dear Ruby on Rails Expert with Compassion for a Newbie, (:->) I just got started. I tried: At the Windows Command Prompt: ruby puts "Hello, world!" ^D The response is: -:2: syntax error, unexpected ''^'', expecting $end I am using Ruby 2.2 (ruby186-26.exe). What can I do, besides pull out my hair? This can be very discouraging for a complete novice. Roger
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I apologize for my relatively superficial knowledge upfront I have a new 64 bit Windows 7 machine. My dev environment on my old machine which functions fine (sans a functioning monitor -- thus the new machine), I have the following installed and functioning well: Ruby 1.8.6 using the Windows MSI installer Buildr 1.3.3
2010 Dec 07
0
Is this error related to connection pool
Hi My environment is ruby 1.8.6 rails 2.2.2 mysql 5.1 windowsXP I have a very lengthy controller action which fetch mail from pop server. But some times I get error. Mainly three error. And I have to restart the application again to remove this errors. But after some time the same errors again happens 1) Mysql::Error (Can''t connect to MySQL server on
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group I''m trying to hook up my simple app to Active Directory. I''m following instructions posted on the website. Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP. The two instructions seem to differ a little on how to configure (environment.rb). Both instructions break my app with an
2008 Aug 29
4
newbie question for installation
Hi all... just something really confused. Today I downloaded "ruby186-26.exe" according the tutorial.. then have it installed without problem then I use "gem install rails --include--dependencies" to get rails then when I use "rails testabc" for my first application I got following errors: . .. ... create script/process/reaper create
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
Hi I am a newbie to Ruby on Rails, but experienced in programming. I am trying out Rolling with Ruby on Rails article by Curt Hibbs on onlamp.com. I have encountered following error: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id I searched the archives of the list and found that similar question was left unanswered. I do understand from
2007 Jul 07
2
Extending/Modifying QueryParser
Hi, I''ve implemented synonym searching in my rails application but have an idea I''d like to implement but can''t figure out how to do. The idea is that I''d like to give the end user the choice on whether to search for the synonym of a word or not. Preferably by extending the query language to parse a construct similar to ''%word1'' and
2007 Nov 01
5
system hangs while running gem install rails
Hi, My system hangs when I start "gem install rails --remote" command in cli. It is throwing message like "Bulk updating Gem source index for: http://gems.rubyforge.org" and then hangs. When I see FAQ 3.2 in 3rd chapter (http://docs.rubygems.org/read/ chapter/19), it is not answered. Even am facing the same issue. Could you help me to resolve this issue? Thanks