similar to: hyphen on columns name.. help.

Displaying 20 results from an estimated 8000 matches similar to: "hyphen on columns name.. help."

2008 Apr 11
1
Legacy db and hyphen on column name issue.
Hi I have a table called active and another one called authreg I did a one to one relation but it turns out that one of this legacy database column name has an hyphen!!! "-" now im screw how can I tell rails to use it? or make an alias of some sort like with table names.? @active = Active.new( :collection-owner => authreg.username, :time =>
2010 May 22
1
OT - How to query vcard-like data for CTI app
Hi, While this question does not directly concern Asterisk, it certainly relates to CTI applications. When building CTI application, you can meet 3 data types : - LDAP data, for employee data, - SQL data, for customer or structured data, - vCards-like, for various contacts mostly stored in Email's address books. It is very common to deal with LDAP or SQL databases, from a program. I would
2006 Jan 12
3
VCard Upload Import
I''m trying to add Vcard import functionality and I keep getting the following using the code provided below. I''m using the VPIM library to decode the vcards and add them to my database table. Can someone help me out, or point me in a different direction for importing VCards. Thanks. Error: cannot convert StringIO into String Controller Code: require
2006 Feb 24
8
editing and deleting fields in a vcard
Hi all, Is there a way in vpim to edit an individual field in a vcard. I have a set of vcards stored in a db and would like to be able to edit individual fields in the vcard and then save the vcard back to the db. I didn''t see any methods for editing a vcard in the api. Do I need to create a new vcard and repopulate it with all the fields except the one that I''m changing and
2007 Nov 19
2
ASCII character set and hyphen
Hi all! To add to my previous posting I want to give some more deatils give a more precise I want to print a hyphen to a pdf() or postscript() device. As the documentaion of postscript says ASCII Character 45("-") is mapped to a minus sign (ASCII Character 95) by default. The advice given is to use "\173" for a hyphen. But, the following code produces a curly brace instead
2006 Jul 02
2
Flat file as storage backend or what ...
Hi. I''m just starting out with Rails. I''m thinking of writing a web based PIM, partly as a learning experience, partly because I need one. I''ll be using iCalendar and vCard files for for storage because it will let me sync with PDAs, and use other already available PIMs. What would be the best practice for this? a) At the beginning of a session pull all my vevents
2008 Apr 07
7
Saving attribute
Something is getting lost here. def create @home = Team.find_by_user_id(current_user.id) for player in @home.players player.update_attribute(:game_id, @game.id) end end def show @players = Player.find_all_by_game_id(params[:id]) end view <%= @players.size %> # mistakenly equals zero Played with the console and everything should be working fine...
2012 May 04
2
[Sweave] string.prefix without hyphen-minus
Dear Sweave users, Could you help me to find a way to place Sweave output files in a subdirectory of the currentfolder without giving them a subname? If the option "prefix.string=foo/" is used, all files are placed in this folder, but begin with an hyphen-minus, which makes it difficult to work with them. If the option "prefix=FALSE" is used, then files won't be placed in
2011 Jun 22
2
Hyphen in Vorbis Comment
Hello, I am trying to tag some ogg vorbis files with hyphen "-" in the comment field. For e.g. album name = Example - EP. But this is being displayed as ALBUM=Example ALBUM=EP Is there no way we can have a hyphen in the comments section?
2004 Aug 10
1
/minus or /hyphen in PS output
Dear R devolepers! Wouldn't you change src/main/devPS.c file (patch will follow). Problem is with minus sign in ps output. The original code forces the name /minus to the character number 45 (-). But /minus symbol is not defined in standard Adobe encoding and (even worse) is not defined in most type1 fonts (where the name /hyphen is used instead), in this case you will have an empty
2004 Aug 10
1
/minus or /hyphen in PS output
Dear R devolepers! Wouldn't you change src/main/devPS.c file (patch will follow). Problem is with minus sign in ps output. The original code forces the name /minus to the character number 45 (-). But /minus symbol is not defined in standard Adobe encoding and (even worse) is not defined in most type1 fonts (where the name /hyphen is used instead), in this case you will have an empty
2008 Apr 15
4
ActiveRecord::StatementInvalid in BlogController#index
Hello. I''m trying to do the video tutorial "how to build a blog engine in 15 minutes with ruby on rails" from the main rubyonrails website, and I''m getting an error when I try to use scaffold :post after editing my config file for the mysql database. Here is the exact error I''m getting: ActiveRecord::StatementInvalid in BlogController#index
2008 Apr 02
9
Problem getting the most recent has_many associated object
I can''t get my view to display the most recent parameters from an associated object in a view... here is a birds-eye of my app: I have two models, Ferms and Kinetics. Ferm has_many :kinetics, Kinetic belongs_to :ferm. Kinetic has the fields ferm_id, brix and temp. In my ferms/index view I have a table listing the attributes of each ferm instance. I would like to display the most recent
2006 Dec 06
1
Some questions
First of all,... someone who uses "yahoo2" as name,...or insters "junk signatures" should simply be silent.... Secondly vcard is not junk, it's standardised via IETF/IMC. Get a proper client (mutt or so) which can filter vcards etc if you'd like to.... yahoo2 wrote: > At 06:43 AM 11/2/2006, Christoph Anton Mitterer wrote: > > Please stop attaching junk files.
2010 Jun 07
3
rpm building and hyphens in Version tags
According to http://www.rpm.org/api/4.4.2.2/specfile.html a Version: tag can contain a hyphen, as the tarball for the source I am compiling is named 2.3-pre4 etc. When I try to build it I get an error about the illegal char? Anyone know about the discrepancy between the docs and RHEL's rpmbuild? Without recreating a new tarball and bungling the name how does one gracefully handle this?
2013 Jan 23
1
hyphen replaced by period in header when using read.table
To Whom It May Concern: I have noticed that all of the hyphens ("-") are changed to periods (".") when I try to read.table() and the headers contain "-" I am using R 2.13 on a RedHat system. Here is the situation: I have the following a tab-delimited text file saved as test.txt File1-a.txt File1-b.txt File2-a.txt File2-b.txt 1 1 2 1 1 2 3 2 1 1 2 3
2006 Apr 11
4
Vpim::Vcard Line Breaks
On Wed, Apr 12, 2006 at 02:29:50AM +0900, Ben Reubenstein wrote: > I am using the Ruby Vpim library to create Vcards. I am having > trouble getting my address entries to format correctly when the > resulting VCF file is loaded into an address book. Is there a special > character to create a break line in the address field? Many of the > addresses in my data include multiple line
2008 May 09
5
dynamic models
Hi In my app , a user can create a set of question then a table is dynamily created , in the database,to store the answers of the questions. the name of the table is answers_x (x is the id of the questionniare). Is it possible to dynamicly create a model, to handle the answer_x tables ?? I can''t manually create a model then restart the server.
2006 Aug 10
4
exporting vcards from rails
i''m doing a site for someone that has a form set up to collect contact information from the user. i installed the vpim gem and was hoping to give my client a way to download all of the contact''s information as a vcard. using the examples, i was able to get it working in ruby, but i''m not quite sure how to generate and download a vcard on the fly. has anyone done
2006 Aug 04
2
Sweave special token \\ from R to latex
Dear helpeRs, I would like to specify a newline command in R and pass it to latex via Sweave such that it corresponds to latex' \\ command. But that doesn't seem to be possible. If I Sweave the \n character, it just makes a new line in latex but not the \\ command. Is there a way such that the following code would result in latex in blablabla \\ blablabla on different line