Displaying 20 results from an estimated 6000 matches similar to: "Ajax Effects Tutorial"
2006 May 04
4
What do you use RJS for?
I''ve read an intro or two for RJS, but I don''t fully get what it may be
used for - AJAX? Please post what you currently use RJS for.
Thanks!
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 18
9
RJS - not working in IE
I searched thru all the postings about RJS, and I didn''t find one person
who complained of problems specific to IE, but that''s what I''ve got.
My environment is:
Rails 1.0 + RJS Plugin
Updated Javascripts to Scriptaculous 1.5.3 (for evalScripts support)
Monkeypatched in_place_editor to support evalScripts
I have just started using RJS, and I have two .rjs templates.
2006 Mar 29
5
Database passwords with numbers
I have database password in my database.yml as "passw0rd" however when I
go to http://localhost:3000/rails/info/properties I get this error:
private method `gsub'' called for 1:Fixnum
But if I just use "password" for my password everything is ok.
Any ideas?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 29
4
Ruby/OCI8 not working on Rails 1.1
http://rubyforge.org/tracker/?func=detail&atid=1051&aid=3960&group_id=256
I posted this bug yesterday. Seems to be confirmed, since someone else
has the same problem on a different platform (Fedora 4 and Max OS X).
So, if you are using Oracle, don''t be in a rush to upgrade to Rails 1.1
unless you have the time to figure this problem out for yourself.
--
Lori Olson
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 Mar 18
2
in_place_editor change request...
Hi,
How do I make a request to the Rails team to include a line something
like:
js_options[''savingText''] = %(''#{options[:saving_text]}'') if options
[:saving_text]
in the in_place_editor method?
script.aculo.us supports the ''savingText'' option to control the text
displayed while saving after an in-line edit. Having the ability to
2006 Apr 03
2
Problems with STI in has_many/belongs_to in Rails 1.1
I have a problem that surfaced in my attempt to upgrade my application
to Rails 1.1.
We have a STI model on the "belongs_to" side of a has_many/belongs_to
relationship. All my unit tests for this model pass, and the
relationships all seem to work fine.
But in my functional tests, I''m getting errors. I''ve traced it back
into the call to the has_many
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 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
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 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 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
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 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 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 Mar 22
1
RJS - Still not working in IE
The previous thread on this topic got a little disjointed, so I thought
I''d summarize the issue again, in hopes that someone could help. To
re-iterate, this rjs works in Firefox and Safari on Mac, and in Firefox
on Windows. It fails, in IE on Windows. The failure is that the second
page.replace_html seems to do nothing.
My environment is:
Rails 1.0 + RJS Plugin
Updated
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
2007 Jan 12
3
Large file storage in database
I''m in the planning stage of an app that will store images and short
video clips approximately 1 meg in size from user uploads. My partner
wants to use the database to store all of the files, mainly for scaling
purposes.
I recently built a similar app using the filesystem, but that was to be
run from a single machine. This new app will have 3 application servers
and a fileserver
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears
that oci8 might be a issue.