Displaying 20 results from an estimated 900 matches similar to: "PGError "unknown column" on polymorphic association column"
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed.
CHANGES
-------
Revision 8649 committed by gbuesing on 2008-01-16 20:07:10
Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002
M /trunk/activesupport/CHANGELOG
M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb
M /trunk/activesupport/test/core_ext/date_time_ext_test.rb
TEST FAILURES AND
2008 Jan 15
1
actionmailer the background
I have bdrb successfully set up and running in a local project. It''s
doing two things:
1) processing large csv files and using ActiveRecord to insert
2) sending large batches of emails using ActionMailer
In development both work well. I see my ActionMailer emails in the
log (though it''s the development.log -- odd?)
On the production server csv processing works well, but
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
Hi,
After doing a clean install of ovirt in a Fedora 11 VM, I am unable to
get anything working in the web interface. All I get is an error 500.
After reviewing the logs I see the following error in
/var/log/http/error.log
[Thu Nov 26 11:29:11 2009] [notice] Apache/2.2.13 (Unix) DAV/2
mod_auth_kerb/5.4 mod_nss/2.2.11 NSS/3.12.2.0 mod_python/3.3.1
Python/2.6 configured -- resuming normal
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment
everything works fine, however following a deployment with Capistrano
about an hour ago, I get the following error:
PGError in HomeController#index
FATAL: role "root" does not exist
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
connection_adapters/postgresql_adapter.rb:713:in `connect''
2006 Mar 08
0
server closed the connection unexpectedly
I''m getting these errors periodically:
PGError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
: SELECT * FROM works ORDER BY added desc LIMIT 10
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log''
2006 Feb 09
2
postgres connection problems
Hello, I''m a newbie to rails and I am trying to do the Demo in the
November Issue of Linux Journal. Things go fine go fine until I try to
connect to my Postgres database (ver 8.1). At this point I get the
following error message
---- RoR error and trace back ----
PGError in Admin#index
could not connect to server: Permission denied
Is the server running on host "localhost"
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
The build failed.
CHANGES
-------
Revision 8896 committed by bitsweat on 2008-02-19 02:56:05
Don''t assume all records from nested include are of same class. Closes #11154 [acechase]
M /trunk/activerecord/lib/active_record/association_preload.rb
A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb
TEST FAILURES AND ERRORS
-----------------------
Name:
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all,
We''re attempting to use Ferret with the DRb server at the moment, and
it doesn''t work, at all...
= Executive Summary
The DRb server process keeps on calling the remote index to the DRb
server process... Which means DRb is calling itself, and itself, and
itself, until Ruby kills the Thread with a SystemStackLevel error.
= The excruciating details...
# Mongrel is
2007 Feb 19
0
Invalid SQL generated with PostgreSQL 8.2.3
Hey,
Using Ruby 1.8.5, postgres-pr-0.4.0, activerecord-1.15.2, Rails 1.2.2
and PostgreSQL 8.2.3. I''m following the O''Reilly book "Ruby on
Rails", so you can tell I know precious little of what I''m doing ;-)
Well, I''ve created some models, and was working through examples, and
executed the following from a console:
>> show = Slideshow.find 1
2010 Jan 19
1
PGError: ERROR: operator does not exist: character = integer
Hi,
I''m using PostgreSql database with the rails application,In a
functionality I''m trying to compare two attributes in a condition, one
is of type varchar and other the Integer. While doing so i''m getting the
error as below.
ActiveRecord::StatementInvalid: PGError: ERROR: operator does not exist:
character = integer
LINE 5: WHERE PART.part_number =
2009 Sep 26
2
Config XLSUITE in Windows
I try to config XLSUITE in my system. I''m facing some problem i resolved
it one by one.
now im facing this error
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
2009 Aug 25
17
WHy is rails so annoying to deploy?
I''ve been having great fun trying to deploy a fresh install of rails on
debian, specifically xlsuite to test it out, but my god how many more
errors can I take before I give up.
RAILS IS NOT NICE
After battling with countless different errors from trying Ubuntu,
Fedora, Windows and now Debian the list goes on and on and ON...
now the latest error
`load_missing_constant'':
2010 Dec 12
1
PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xa0
Hello, my app is reading emails with attachments and inserting the
Email message into the database to be sent to delayed job for
processing.
When inserting an email with attachments into the database, I get the
following error:
PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xa0
Has anyone seen this before? There doesn''t seem to be much rails
related via
2011 Feb 17
4
PGError: ERROR: relation "instructions" does not exist
HI,
I got this error when i am testing my rails application. I dont have the
table named ''instructions''. But it shows a error like "ERROR: relation
"instructions" does not exist". Totally, I got same error for 64 tests as 64
errors.
I am using rails 3.0, Ruby 1.9.2, Netbeans 6.8.
PS: I didnt creat Instruction manual for rails application.
*Error:
2010 Apr 14
3
PGError: duplicate key
I''m running a rails 2.3.5 / ruby 1.8.7 / postgresql 8.4.2 app and have
just run into a curious problem.
I have several tables that are initialized with data from csv files
and I''ve noticed that, when I try to add new data to any of these
tables via Table.new I get a PGError on duplicate key.
For example:
MIGRATION:
class CreateNumbers < ActiveRecord::Migration
def self.up
2011 Aug 24
9
PGError: server closed the connection unexpectedly
Hi,
Since 1-2 weeks I get a lot of "PGError: server closed the connection
unexpectedly" errors and I cant figure out where it is coming from.
Haven''t found any solution on Google either.
My setup is:
Postgres
Rails 2.3.9
Passenger
Ruby 1.9.2
Thought it might be passenger, so I stopped the spawning, it seems to
have helped a bit, but I still get these errors.
The errors are
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
Please review this patch for postgres adapter''s referential_integrity.rb in
Rails master and 3.2.9 and let me know what you think. We are using it via
an initializer (monkey patching the adapter directly vs. in module):
https://github.com/rails/rails/pull/8498
Fixes this issue also seen by others in Foreigner:
https://github.com/matthuhiggins/foreigner/issues/61
Problem that it
2010 Jan 16
0
Postgresql error
Hello,
I successfully dumped the database in postgresql. Now I want to connect
my rails application to the postgresql database, able to start the
server, but I am getting this error when I browse the application from
the browser.
script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
Sphinx cannot be found on your system. You may need to configure the
2005 Dec 19
0
weird postgres adapter error
I just ported my Rails app from OSX/Linux to Windows XP for the first
time. I am running PostgreSQL 8.0 and the postgres-pr 4.0 adapter.
Some of the queries in my Rails app work, but for others I get a weird
error:
ArgumentError: Invalid Ruby/cstring: select sa.name as activity_name,
max(sah.created_at) as created_at
from site_activity_histories sah, site_activities sa
where
2006 Jan 26
0
If you want to disconnect a database properly, there is the code:)!!!
Hi,
We have worked on a problem of connection: Connect to
two databases with a single ActiveRecord::Base model
class within the same action
The main difficulty is how to disconnect the actual
connection properly and then let the ActiveRecord
establishes a new one.
The actual function "remove_connection" removes the
connection, but its doesn''t unbind the link between
rails and