Displaying 17 results from an estimated 17 matches for "mandic".
Did you mean:
mandir
2006 Mar 18
10
collection_select''s linked
I created a form with two collection_select, country and state and would
like to bring up to date the state list when to select a new country.
How I can make this in Rails?
Thanks
Eleudson
Brazil
<p><label for="person_country_id">Country</label><br/>
<%= collection_select(:person, :country_id, @countries, :id, :name)
%></p>
<p><label
2006 Apr 06
0
3 doubts on observe_field
...and not to use @form_country_id variable from _form.rhtml.
<select id="city_state_id" name="city[state_id]">
<%= options_from_collection_for_select @states, "id", "nome",
@form_country_id %>
</select>
Regards,
Eleudson Queiroz
jinfo@mandic.com.br
--
Posted via http://www.ruby-forum.com/.
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 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 Mar 01
1
observe_field question
I''m sure this is a simple problem, but I''ve been working on it for a
couple days and can''t seem to figure out the correct way to structure my
observe_field call. The HTML and Javascript generated all appear
correct, but the AJAX call is never made. Below is the code I''m using
and any help would be much appreciated.
models_controller.rb
def
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 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 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 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
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 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 Apr 12
0
Model in two different parts of the app.
I have a doubt about using models.
I have a application with two parts. The first is a login system to
users, and the second is a administrative interface.
The administrative interface I create in a directory called admin
Both parts use the model User. Can I put the model user only in the
model directory or I should duplicate it in the /models/admin/ too?
Thanks in advance.
Fernando Lujan
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')
2014 Sep 29
2
Change partition type
Hi,
Is there any way to change the partition type using python-guestfs?
I'm trying to recreate an NTFS partition, but can not change the type to NTFS (7 identifier in frisk)
Filesystem from my disk
g.list_filesystems()
{'/dev/sda1': 'ntfs', '/dev/sda2': 'ntfs’}
Fdisk
print g.sfdisk_l(device)
Disk /dev/sda: 51200 cylinders, 64 heads, 32 sectors/track
Units =
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