search for: mobile_numb

Displaying 5 results from an estimated 5 matches for "mobile_numb".

Did you mean: mobile_number
2007 Nov 08
0
Models for external REST services
...=================== And this is what the model looks like (I assume I need a model for the remote_form_for) and I''m pretty sure this is far from what I need # model/sign_in_form.rb class SignInForm < ActiveRecord::Base attr_accessor :mobile_field1, :mobile_field2, :mobile_field3, :mobile_number, :sign def mobile_number=(val) @mobile_number = val end # mobile_number is supposed to be some sort of virtual attribute def mobile_number @mobile_field1+@mobile_field2+@mobile_field3 end def sign=(val) @sign = val.capitalize end def sign @sign end def mob...
2007 May 05
1
Problem in Vcard generation
...o generate Vcard..Now I am able to generate vcard also i am able to send that vcard through mail. If i try to open that vcard through thunderbird, all the fields getting stored in address book except mobile number, Here ia m send the code for adding mobile number into vcard.. if @bizcard_label.mobile_number!="" flag=1 maker.add_tel(@bizcard_label.mobile_number.to_s) do |mob| mob.location=''cell'' mob.preferred = true end end Above code mobile number will come as 10 digit number. Is my approach correct? or am i doing anyth...
2008 Jun 14
1
help with collection_select
Hi, I have a table called ''users'', there is a field called ''username'' and another field called ''mobile_number'' (among other fields). In my application the user can send SMS message and can choose between his/her username and mobile number as the sender id. Both of them are of course stored in the users table. Also there is a third option which is the domain name of the website, it should be a st...
2004 Dec 19
4
SMS - how to send one
I've read quite a bit in the older mailing list posts and the wiki but I'm missing some simple point. 1) What is required to send an SMS to a mobile outside the office given: Channel: ZAP/1 send it to $SMS_RECIPIENT (which includes the final "extra" digit) via $SMS_CENTER=the national message center server for sending messages $MESSAGE= the message text How is the .call file
2006 Jan 25
12
DRY in Models
I am building an app right now that needs to grant access to three levels of members right now - each will have their own table in the DB. When creating the add_user action I am converting the password into a hashed password through the model. The way I am doing this right now, I will inevitably end up with repeated code in three different models. Is there a way I can define this code in