search for: contact_types

Displaying 8 results from an estimated 8 matches for "contact_types".

Did you mean: contact_type
2010 Jun 08
9
[Rails Heroku] Problem with saving object (on heroku hosting)
...es_presence_of :name validates_uniqueness_of :name end migration: create_table :contacts, :force => true do |t| t.integer :user_id t.integer :type_id t.string :name t.string :number t.timestamps end add_index :contacts, :user_id create_table :contact_types, :force => true do |t| t.string :name t.timestamps end end And a simple form: <% form_for(@contact) do |f| %> <%= f.error_messages %> <p> <%= f.label :name %> <%= f.text_field :name %> </p> <p> <%= f.label :t...
2011 Oct 19
4
Using SQL "IN" with RJDBC or RMySQL
Hello, The code below works fine up until I try to use the "IN" statement in the last line. The proper SQL format is: SELECT * FROM this_table WHERE this_column IN (1,2,3,4,5) But, I think I may be getting something like: SELECT * FROM this_table WHERE this_column IN c(1,2,3,4,5) Which makes no sense in SQL. I think it may be just a matter of string massaging, but I'm not
2007 Mar 01
0
Reshape data
I have two data frames with a number of common variables that I wish to put into "long format". The first contains the variables es(Csales) [1] "terr" "Dec.02" "Jan.03" "Feb.03" "Mar.03" "Apr.03" "May.03" "Jun.03" [9] "Jul.03" "Aug.03" "Sep.03" "Oct.03"
2008 Jun 06
2
joining tables
Hi I have 3 tables as 1) user_groups id | contact_id | group_id | group_user_type_id 2) contact id | name_first | name_last | 3)contact_email_addresses contact_id | contact_email_address_type_id | emailaddress Now I have group_id sa for example 68 What I want is from contact_email_addresses table get all the emailaddress with contact_email_address_type_id=2 for the contacts
2006 Jun 26
2
n-way has_mant :through
I''m trying to setup some mildly complex associations for a project we''re working on and can''t seem to find much documentation on n-way has_many :through associations. I have the following models: Person, PhysicalAddress, EmailAddress, PhoneNumber. Each person can have multiple PhysicalAddresses, EmailAddresses, and PhoneNumbers, and multiple people can share the same
2012 Dec 26
0
Presence Registration on the D40
So I'm working with our Digium D40's and we're not using DPMA. This video ( http://www.youtube.com/watch?v=zcuocp01pfM#t=35s ) shows presence information being displayed in the Contacts application. Obviously the video is showing DPMA in play. Is it possible to enable this functionality without it? Is this status information only available on higher-end Digium phones? In the contacts
2006 Jul 27
1
response from ajax request
Hi, newbie here. I am trying to implement a filtering interface using observe_field. Using firebug I can see that I am getting the properly rendered html blob back in the response, but when it get inserted into the dom element that I am targeting, the plain html elements from the partial template have been stripped, leaving only the elements inserted via the <%= statements. I would
2006 Jun 23
3
form_remote_tag is not passing form params
I''ve searched and searched and searched again, and I cannot find any help with this problem. There''s an identical problem on this forum, but it was never resolved. I''ll try to re-open the subject with a bit more information. Problem: The form_remote_tag() method in my "list" view is not passing the params[] hash of the values stored within my form.