similar to: about chinese display

Displaying 20 results from an estimated 3000 matches similar to: "about chinese display"

2015 Jul 06
4
CDR in an MySQL-Database
Hi list! I'd like to save all information about calls (CDR) in a MySQL-Database. I created the DB and a user for Asterisk on a separate server, then I configured my cdr_mysql.conf so: [global] hostname=192.168.10.3 dbname=asterisk table=cdr password=MYSECRET user=asterisk port=3306 and my cdr.conf so: [general] enable=yes unanswered = yes safeshutdown=yes [mysql] usegmtime=no
2008 Dec 20
3
rake aborted (wrong number of arguments)
I''m following a tutorial here to get some columns in my database. I generated a model called ''product'' then I edited ''db/001_create_products.rb'' to have a few columns but when I try to migrate I get this error: bio4054059:depot rmorourk$ rake db:migrate (in /Users/rmorourk/Sites/depot) == CreateProducts: migrating
2015 Jul 06
1
CDR in an MySQL-Database
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of jg Sent: Monday, July 06, 2015 4:14 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] CDR in an MySQL-Database > Hi list! > > I'd like to save all information about calls (CDR) in a MySQL-Database.
2006 Jun 06
15
error working through Agile !!!
Hi everyone, I''m working my way thru the ''Depot'' project from Agile Web Development with Rails. I got to the bit where I type: ruby script/generate scaffold Product admin And I get the following error: error Before updating scaffolding from new DB schema, try creating a table for your model (Product) ( on the last line ! ) Now I have followed everything as
2009 May 26
6
dump and import MySQL table w/ accents
I am switching to a composite primary key (string and user ID) from the Rails conventional auto-incrementing integer primary ID. The table is large (2.5 million records) and I''d rather not discard the contents. The composite_primary_key gem doesn''t appear to support altering the table with a migration to do its magic, only creating a table from scratch. So I dumped the table
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
If you use ActiveRecord::Base.connection.create_database you''ll notice that by default the created db will use latin1 encoding. I created a plugin to handle different charset and collations (on top of helping you with other boring DB tasks). You can check out the early version of the plugin svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks (I really need to move my projects out
2008 Mar 03
9
mutiple select
Hello: How do i make a mutiple select list for "nomodel" objects?I made that by using something like:<select name="" multiple="mutiple"><%=option groups collection for select(....)-%></select>.But when i select mutiple items and submit them,I can only get one selected item? Who can help me? -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
2
Help please: AWDWR -- Migration failure
I''m having a problem with one of the migration files from the depot application. ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == AddPrice: migrating ======================================================== -- add_column(:products, :price, :decimal, {:scale=>2, :default=>0, :precision=> 8}) rake aborted! You
2011 Mar 22
2
Problems with SQLite3
Hi! I''ve got a very strange problem. Suddenly the SQLite3 Backend stopped working. Example 1: > rake db:rollback == CreateProducts: reverting ================================================= -- drop_table(:products) rake aborted! An error has occurred, this and all later migrations canceled: SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE
2010 Sep 24
4
invalid argument for file creating
hi I use song_title to creat a file named by song_title.I have many song titles to create many files.but unfortunately,some of song titles contain special characters,such as [ ,which leads the following error: ##### Errno::EINVAL in Lyric spiderController#scrap_one_category Invalid argument - e:/rails/lyric/public/song/e/Energy/ [ar:Energy.lrc ##### I use the following codes to create and write
2007 Oct 02
11
rake db:migrate fail! bad descriptor
Dear All, I am just getting into Ruby on Rails, after successfully failing at getting any other programming language to work locally. RoR appears to be a repeat! One problem I keep running into is getting a database up and running. I''m working out of Windows XP. I installed MySQL, it works, runs, will create tables etc. BUT, when I do rake db:migrate...it fails and tells me I have a
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale
2006 Aug 16
6
Newbie-Question
Hi. I''ve just started using Ruby on Rails. Now I''ve got my first problem. I generated a new migration ''add_price'' and get the message:
2007 Jan 26
1
rake test:x recreates tables in MySQL with server (not database) charset and collation
Any thoughts on how to avoid this problem? Already tried: 1. Setting the charset and collation in migration 001 - no effect: def self.up db_name = ActiveRecord::Base::connection.current_database() execute "ALTER DATABASE #{db_name} CHARACTER SET utf8 COLLATE utf8_bin" end 2. Setting the charset and collation on each table individually - no effect:
2004 Aug 25
3
Menu help
Hi We have setup a TFTP server on a server running Fedora Core 2. We have a network/router appliance that acts as our DHCP server. The DHCP server gives our workstations an IP address then directs them to our TFTP server looking for the boot file named pxelinux.0 . On the TFTP server we have a directory called tftpboot in this directory we have the following files: - memdisk -
2015 Mar 18
2
Asterisk 13. Writing call quality parameters to CDR. How?
Hello. Voice quality when calling - this is one of the most important in the PBX. You need to record the quality parameters for each call to improve. Because the overall quality of a call can only be determined upon completion, I did it in the HangUp handler and wrote in custom fields of CDR. This worked well in asterisk 11. In asterisk 13 I did not find a handler after the call, but before
2007 Aug 30
1
ACTIVE SCAFFOLD UTF-8 question/problem??
Hi all, Who can help me with problem? I''m using active scaffold for managing my models, but i get a problem with standart search when i''m looking for records that saved in UTF-8 in database. For example: I have some models: name="igor" name="john" name="ivan" name="вася" name="анна" in search field i type symbol =
2007 Feb 09
0
rake aborted!!
OK, I''ve created the following migration class CreateProducts < ActiveRecord::Migration def self.up create_table :products do |t| t.column :title, :string t.column :description, :text t.column :image_url, :string end end def self.down drop_table :products end end This has created a table no problem. I''ve then added another column
2006 Nov 16
4
rake db:migrate problem
I am just starting out learning RoR. I am trying to follow along with the Depot project in "Agile Web Development With Rails ed2" and get the error "You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.[]" I ran --trace and get the following, but I am not sure what it means. Can
2015 Feb 23
2
Dynamic Music on Hold
Hello everyone, I am trying to activate Music On Hold using DB on Asterisk 13. It works fine but in order to use new Music On hold definitions I have to reload the moh module. - The following is my configuration in extconfig.conf - I added the following line: musiconhold.conf => mysql,asterisk,bit_ast_config - The following is the table in the database: mysql> select * from