Displaying 20 results from an estimated 90000 matches similar to: "Model in two different parts of the app."
2006 May 17
3
Slackware 10.2
Hi guys, I'm trying to use asterisk with my slackware 10.2 box.
Kernel 2.6.13 from the testing...
The udevd are not creating the /dev/zap devices.
Someone already have success installing asterisk over slackware?
Thanks in advance.
Fernando Lujan
2006 May 09
1
Reusing a model to form and link_to.
Hy guys,
Inside my app I have a form which contains user information.
Sometimes a have a form with a text_field as above:
<%= form_remote_tag(:html => { :action => url_for(:controller =>
"my_controller", :action => "my_action") }) %>
<%= text_field(''my_object'', ''my_parameter'', :maxlength =>
2006 May 18
1
R2/MFC Configuration.
I'm trying to put asterisk working with a proprietary pbx system.
I'm doing it using a T1 crossover cable. The pbx system uses the R2/MFC
specification. And the don't inform if it uses cas, ccs, ami or hbd3.
My digium card is flashing a red light.
How can I put this working with the R2/MFC system?
Thanks.
Fernando Lujan
2006 May 24
2
TE406P - MFC/R2
Guys,
I'm trying to configure a TE406P with MFC/R2.
here goes my zaptel.conf:
span=1,0,0,ccs,hdb3,crc4
cas=1-15:1101
dchan=16
cas=17-31:1101
span=2,0,0,ccs,hdb3,crc4
cas=32-46:1101
dchan=47
cas=48-62:1101
The first strange behavior is that the:
zap show status
shows this:
Description Alarms IRQ
bpviol CRC4
T4XXP (PCI) Card 0 Span 1
2006 Mar 29
5
Asterisk Between PBX and FXS
Hi guys,
I''m setting up asterisk to run with another pbx server. This pbx server
support a feature that allows 2 extensions connect to the same FXS. No I put
asterisk in the middle.
Asterisk receives the call and dial to a SIP/peer.
How the pbx installed support 2 extensions to one fxs... How can I figure out
in asterisk which extension was dialed before the call came to asterisk?
2006 May 10
2
Rails, Postgres and the Date Field.
Hi guys,
I''m having problems with my app. First of all, I created a date_select
with the code:
<%= date_select(''contact'', ''birthday'', :order => [''day'',''month'',''year'']) %>
In the contacts table, I create a date field:
birthday DATE
When I save the values goes wrong into the database.
2006 Apr 04
2
Ajax Effects Tutorial
Hi there,
I am in love with rails... And now I want to rule Ajax effects with
rails. Where could I find a book like: Ajax on Rails? :)
Tutorials will be welcome too.
Thanks in advance.
Fernando Lujan
2006 May 03
1
Differences betwen check_box_tag and check_box form helper.
What is the difference between the check_box_tag and the check_box form
helper?
I can''t understand why both must exist. :(
Thanks.
Fernando Lujan
2006 May 10
3
has_many association.
I''m creating a address book.
A user can have many contacts.
In the user model, I put:
has_many :contacts
And in the contact model, I put:
belongs_to :user
To list all contacts, I search as following:
@user = User.find(session[:user_id])
And rendering:
<%= render(:partial => "contact", :collection => @user.contacts)%>
To persist I am using the following
2007 Oct 30
2
WebDav Support.
Hi guys,
I read that mongrel supports the webdav protocol. I need to "create" the
webdav files and allow a third party app access it just for read purposes.
What do you recommend?
--
Fernando Lujan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071030/1527bd35/attachment.html
2006 Jun 08
1
Observable notifying a controller.
I want to code the following task:
I have a class, for instance, class A with is a observable.
I want to add a controller of my rails system to this class. So I can
notify_observer, and it updates all controllers of my system.
How do I pass a controller as a parameter to the add_observer() method?
And where I put this code?
Thanks in advance.
Fernando Lujan
2006 May 05
5
Sessid.
How can I get the sessid from the current session object?
For instance, I log in the system, and want to know which sessid I''m using.
I''m storing the session using active_record. Later on, I want to restore
a session finding it using the sessid.
Thanks in advance.
Fernando Lujan
2007 Sep 03
2
Mongrel and Memory usage.
Hi,
I am using mongrel for a long time... But just now I see a problem. I am
running 3 instances using mongrel_cluster and nginx as a reverse proxy. When
I start the cluster I have a memory usage of 20MB per instance... In the end
of the day this usage is something about 230MB for each instance. It should
be a memory leak?
Thanks for the help.
--
Fernando Lujan
-------------- next part
2006 May 26
0
Observer Subject Pattern on Rails.
Hi guys,
I''m developing a chat application with rails. I need to instantiate a
observer for each user that logs in the app and then, when this user
type a message update all users with the new message.
I try wiki.rubyonrails.org for help, and find nothing I can use. I
searched using the keywords rails observer and didn''t find anything
interesting.
Where can I find useful
2006 Jun 07
0
How-To monitor a specific channel?
Gruys,
How can I record a specific channel if Monitor doesn't receive it as a
parameter?
Can I do a combination with the ZapBarge app?
I want to record calls in some channels.
Thanks in advance.
Fernando Lujan
2006 Jun 20
0
ChanSpy on a specific channel.
Guys, I'm trying to run chanspy on a specific channel without success..
extensions.conf:
exten => 5,1,ChanSpy(IAX2/)
Result:
-- Executing ChanSpy("IAX2/127.0.0.1:32783-1", "IAX2/") in new stack
-- Playing 'beep' (language 'en')
-- Playing 'beep' (language 'en')
-- Playing 'beep' (language 'en')
2007 Jul 17
0
Multiple inserts on a through association.
class Trunk < ActiveRecord::Base
has_many :call_type_trunks
has_many :call_types, :through => :call_type_trunks
end
class CallType < ActiveRecord::Base
has_many :call_type_trunks
has_many :trunks, :through => :call_type_trunks
end
class CallTypeTrunk < ActiveRecord::Base
belongs_to :call_type
belongs_to :trunk
end
The associaton class has a column named price.
2016 Jun 14
0
Two DC but Different UID
Understood, I leave dess form, or may have problems
As for examples, with fileserver (separately)?
But I already was using the RFC2307, because in both I am with the option:
idmap_ldb: use RFC2307 = yes
???
Thank you
Em 14-06-2016 13:13, Rowland penny escreveu:
> On 14/06/16 17:00, Carlos A. P. Cunha wrote:
>> Correcting previous email
>>
>>
>> Hello!
>> Own two
2017 Mar 06
1
[PATCH v7 kernel 5/5] This patch contains two parts:
Am 03.03.2017 um 06:40 schrieb Wei Wang:
> From: Liang Li <liang.z.li at intel.com>
I'd prefer to split this into two parts then and to create proper subjects.
If I remember correctly, the general concept was accepted by most reviewers.
>
> One is to add a new API to mm go get the unused page information.
> The virtio balloon driver will use this new API added to get the
2017 Mar 06
1
[PATCH v7 kernel 5/5] This patch contains two parts:
Am 03.03.2017 um 06:40 schrieb Wei Wang:
> From: Liang Li <liang.z.li at intel.com>
I'd prefer to split this into two parts then and to create proper subjects.
If I remember correctly, the general concept was accepted by most reviewers.
>
> One is to add a new API to mm go get the unused page information.
> The virtio balloon driver will use this new API added to get the