Displaying 3 results from an estimated 3 matches for "my_contact".
Did you mean:
maxcontact
2007 Feb 02
1
CallerID Name not available.
...esent but when
redirect the call, the end receiver is not able to see the callerid
name. The caller id number is visible.
our related changes to extensions conf is below.
exten => {MY_EXT},14,Set(CALLERID(name)=OH ${CALLERID(name)})<br>
exten => {MY_EXT},15,Dial(SIP/vitel-outbound/$[${MY_CONTACT}],30)
at 14 we try to present OH to the Caller Name. For eg "OH Shivram U".
(removing this line doesnt work too)at 14 we are able to see the
callerid name.
at 15 we route the call to our contact.
vitel-outbound is the service provider for the DIDs
MY_CONTACT would be the number we are t...
2006 Feb 14
22
Teaching Models to Render Themselves in the Controller
....
Let''s say I am writing a contact-management application. I have a
class Contact. I will need to display this class all over the
application. My first choice is to use a partial.
Now I can render my Contact with:
<% render_partial ''contact_view'', :contact => my_contact %>
However, I start doing some ajax things, where I need to render a
contact and return it with an AJAX call. So, I simply render the
partial from my controller. Not too bad, as long as I can keep
straight what partial to call and what locals I need to pass where.
However, to make thing...
2009 Sep 27
3
Newbie Trouble with RubyOnRails Bible
...ows table structure>
<switch back to other window>
ruby script/generate model Contact
<shows directories created>
<look at app/models/contact.rb, which shows:>
class Contact < ActiveRecord:: Base
end
ruby script/console
Loading development environment
<this works fine>
my_contact = Contact.new
<here''s the problem: instead of showing me the attributes of the instance, I
get the message:
ActiveRecord::StatementInvalid: Could not find table ''contacts'' from
c:\program files\BitNami RubyStack/ruby/lib/ruby/gems... etc.... and many
other error messag...