Displaying 20 results from an estimated 900 matches similar to: "PGError: ERROR: relation "instructions" does not exist"
2010 Sep 08
4
Populate combo box from database without repeatness
Hi,
I have a column of data with repeated as mentioned below.
*column_name*
Acer
Lenova
HP
Lenova
Acer
Acer
Lenova
I need to populate this column in a combo box without repeated data as
mentioned below
*combo box*
Acer
Lenova
HP
I tried as
<%= collection_select(:column_name, TableName.all)%>
"table_names" is a table and "column_name" is a column needed to
2010 Sep 06
18
problem when : ruby script/server
Hi;
Now I have tried the following, installed
ruby 1.8.7 (2010-08-16) [i386-mingw32]
rails 2.3.8
when I start the server --> ruby script/server, I get the following
eeror:
C:\Rails\demo>ruby script/server
=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-09-06 23:53:31] INFO WEBrick 1.3.1
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
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but,
instead doing the examples using Rails3.0.0.rc.
But, I''m getting this error when browsing for example:
http://localhost:3000/advs/1
undefined method `eq'' for nil:NilClass
Provided that my advs_controller.rb is as follows:
http://pastie.org/private/cd9zntg2ite57ept288kfa
Any ideas why
2007 Mar 19
0
PGError "unknown column" on polymorphic association column
Hi all !
This is very strange. I am attempting to get my application running
on PostgreSQL (from MySQL), and I get this error:
ActiveRecord::StatementInvalid: PGError: ERREUR: la colonne «Party»
n'existe pas
: SELECT * FROM contact_routes WHERE (routable_type = "Party" AND
routable_id = 1000013) ORDER BY position DESC LIMIT 1
2008 Feb 19
3
No compatible codecs!
Hi,
I have the asterisk-1.4.11 set up installation on my Ubuntu machine. When i try making a simple incoming call using xlite softphone. I get the following message when i try calling to the number.
*CLI> [Feb 19 13:35:40] NOTICE[4137]: chan_sip.c:5331 process_sdp: No compatible codecs, not accepting this offer!
Which codec is it talking abt here. How can i resolve this.
My dialplan is as
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 =
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 07
8
Pygments
The Pygments highlighter supports many more languages than CodeRay.
Pygments is written in Python, but I''ve seen non-Python projects use it
(Jekyll, Pygments).
There''s also this: https://github.com/nex3/rb-pygments
Any idea how much work it would be to add Pygments support to Webgen?
2008 Jan 15
3
Interrupt the swift text
Hi,
I am using Asterisk-1.4.11 version to make outbound calls and deliver the swift text to audio.
My functionality is as for example i make this text to audio deliver the person called.
Eg. swift -o /tmp/test.wav -p audio/channels=1,audio/sampling-rate=8000 "Press 1 to confirm. Press 3 to cancel."
extension.conf dialplan:
[dialout]
exten =>
2007 Aug 10
3
Mix of PHP and HTML files.
Most of my website is static HTML, but I do have a couple PHP pages. I''d like the default template to be applied to it (i.e. I don''t want it to just be copied).
How can I get webgen to create the PHP file with the right extension in the output directory? A way to specify the following mapping would be nice:
*.php.page -> *.php
*.page -> *.html
Thanks.
-
2012 Jul 30
4
Multi-Tenant PBX with Asterisk
Hi
I came across couple of pointers on the Internet regarding solutions
available for providing hosted PBX service.
1. Multiple PBXs: Using separate hardware to host each PBX. Pretty
straightforward, but no hosting company wants to use it.
2. Multi-tenant PBX: Configuring multiple PBXs within the same instance of
Asterisk. I.e. partitioning a single instance of Asterisk into multiple
PBXs by way
2008 Jul 14
5
How can i use link_to_remote with in form_for
Hi
anybody plz help me how can i use link_to_remote with in form_for.. i
tried but no luck... if i use form_tag i can able to use link_to_remote
and made ajax call.but i need to use form_for ....can anyone help me how
can i do with this.Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2008 Jan 14
2
g729 codec - simultaneous calls
Hi,
I use asterisk 1.4.11 version for making outbound calls. Running it on linux(fedora core 7) machine. Recently purchased the g729 codec, got it registered with my asterisk box. I have two queries for you to help me.
1. How do i know when an outbound call is placed that it makes use of the g729 codec.
when i use the command "show g729" i get the following:
0/0 encoders/decoders of
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
2008 Feb 14
2
Pass arguments from extensions.conf
Hi,
I have been working with asterisk to make ivr calls (outbound and inbound). I have the functionality -
Read(variable|file_name)
used in my dialplan. Now i need to pass the variable to my ruby file to compare the data entered with the database (mysql).
How can i pass the arguments from my dialplan to the ruby file. Is there a way i can do it with the agi script?
Any one has any clues on
2009 Oct 14
1
ovirt web interface 500 Internal Server error
Hello,
I built ovirt this morning and ovirt web interface does not work anymore.
I am able to login but only dashboard and networks are visible...
no default hardware pool is visible.
On /var/log/httpd/error.log I read:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:212:in `log': PGError: ERROR: relation "pools" does not
2006 Feb 13
8
postgres and rake
am in a bit of a quandry...
I have asked postgresql-users list and haven''t gotten anything to work
with...
> > How do I change the owner of a schema?
> >
> > ALTER SCHEMA "public" OWNER to "some_user"; #?
>
>
http://www.postgresql.org/docs/current/interactive/sql-alterschema.html
>
> The docs explain this very situation. HTML
2005 Jul 20
1
Speex Windows from 1.1.6 source
Hi All,
I am using Speex for encoding/decoding the audio stream for
my streaming application. I have used almost the same code
In the sampleenc.c and sampledec.c, except that I have used
The buffers from the mic as input for encoder and encoded audio
As input for decoder, instead of files input.
My Problem is the audio played on the receiving side after decoding
Is only a "hush" or it
2013 Mar 16
7
Connection to PGSQL fails?
I have configured a new server and copied the dovecot-sql.conf file that works a different server to the new server... But when Dovecot tries to connect to the database, the
following error appears..:
Mar 16 22:28:25 smtp dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Mar 16 22:28:25 smtp dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so