Displaying 20 results from an estimated 300 matches similar to: "Existing Tabs Helper?"
2005 Sep 18
3
Attaching effects during onload
I''m trying to attach effects to elements in my onload handler and my
lack of Javascript-fu is showing... I want to call the effect from
the onclick handler of an anchor inside the div I want the effect to
apply to. Here''s what I''m trying to do:
function doOnLoad() {
var filters = document.getElementsByName(''filter'');
for
2006 Jun 23
5
create session only for logged-in
i was wondering how a blog db has grown by about 15 mb in a week or two. it turns out its the sessions table..
so ive tried this:
class ApplicationController..
session :off
end
class AccountController
session :only, :login
end
and now, its impossible to login, and nothing ever appears in the session table. is this the right approach? i dont want to weed out the sessions with cron, i just
2006 Jul 02
11
Google maps api in ruby/rails
I''ve been looking for any modules/tools that are available for using
the google maps api in rails. I found a couple of quick examples, but
not much more. If anyone knows of good sites that cover using google
maps api in rails please post it here:)
Chris
2010 Aug 20
5
country state city drop down list rails
hi every one
please tell me the recommended way to get country
state city drop down list in rails
any gem - plug-in tutorial
thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the
return is a page instead of code execution. I have other ajax forms no
listed that are also running fine on this same page.
there are supposed to be 3 ajax events:
onblur event that calls a function to submit - doesn''t work.
There is a submit button at the end of the form - works
there is a delete image that removed the
2006 May 24
2
Gallery2 integration
Is anybody working already in a gallery2/rails integration?
I need to use it as part of my project, so, before start from scratch
with it I''d like to know if already is something out there.
Thanks.
2006 Feb 07
4
Dynamic url with javascript? - Help Please
Hi,
I''m trying to call a remote function when a combobox option is selected,
passing as an argument the current value of the combobox (paramenter
"panel_id":
<select id="server_interface_jack_switch_panel"
2005 Sep 15
1
NetEx HyperIP
Hello!
I'm looking to see if Webster received an answer to his question with
supporting rsync data replication over a distance of 10,000 miles.
Thank you,
Steve
-------------------------------------------------
Steve Pheneger
Program Manager
NetEx
Toll Free: 888-604-5563
Direct: 763-694-4309
FAX: 763-694-0669
<mailto:steve.pheneger@netex.com> steve.pheneger@netex.com
2005 Oct 04
3
Ruby/Rails users in Toronto area?
Just checking. I''m new in town, and somewhat new to Ruby on Rails.
-- joshua
2006 Aug 13
4
Javascript compression / How to hook in to rails development
Hi there,
I thought it''s rather neat to use the javascript compression from
http://dojotoolkit.org/docs/compressor_system.html
This removes javascript comments and renames variables and seems pretty
reliable and effective.
For example, I keep the original htmlarea.js file from
http://xinha.gogo.co.nz/
in a file htmlarea.js.txt and it compresses from 200K to 100K. With
gzip it
2010 Jun 24
1
Custom account subdomains with Rails 3
Hi,
I needed to handle custom account subdomains with Rails and I wrote a
simple rack middleware for that http://github.com/drogus/rack-subdomain.
It works by mapping any subdomain to given PATH. For example when user
hits drogus.example.org/account and mapping is /users/:subdomain, it
will map the request to example.org/users/drogus/account
I accomplished it with rack middleware, cause I wanted
2008 Sep 15
1
[attachment_fu] Allways triggering after_attachment_saved callback
Hi,
I use attachment_fu in one of my apps and recently I''ve realized that
udpates are taking too much time. After some debugging I''ve found that
attachment_fu is calling after_attachment_saved callback no mather if
attachemnt has changed or not.
For example this code:
after_attachment_saved do |photo|
logger.info "after_attachment_saved"
end
# in console - always
2009 Jan 07
13
HTTP parse error due to an extra percent sign
If you append an extra percent sign to a URL that gets passed to
mongrel, it will return a Bad Request error. Kind of odd that
"http://localhost/%" causes a "Bad Request" instead of a "Not Found"
error.
Here is the error from the mongrel log:
HTTP parse error, malformed request (127.0.0.1):
#<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>
1999 Jan 01
1
Problems running 'R' on Windows-2000
Do you know of common problems running 'R' on Windows-2000 Pro? For some
reason, the program crashes every time I try to start 'R'
_____________________________________________________________
Jason K. Wehner
University of Chicago Graduate School of Business
jwehner2 at gsb.uchicago.edu
home: 312-938-0528
cell: 773-218-6244
2009 Jun 12
5
Limit Request Body Size (Disallow very large File-uploads)
Hello all,
For the last couple of days I was trying to get my
Apache/mod_proxy/mongrel setup to limit the size of the request body.
The setup is as follows:
1.) Apache acts as a reverse proxy by facilitating mod_rewrite and mod_proxy
2.) Requests for non-static files are passed on to a mongrel_cluster
3.) We use mongrel for our Ruby on Rails application
Note that due to some restrictions we are
2006 Aug 10
1
reusing previous code
Hi,
I have a couple of controllers, views, models and mailers for a given
functionality (for example, user registration). ?what is the best way to
share them between multiple applications so that I don''t have to copy them
over and over again?
Thanks.
2006 May 12
1
ActionMailer without rails
Hi.
Could someone post here a simple example of sending a mail throught a
smtp server from ActionMailer but *outside* rails??
I mean, a simple script starting with:
require ''rubygems''
require_gem ''actionmailer''
#stuff that sends some text by smtp
I''ve been trying but I can''t get it to work.
Thanks everybody.
2006 May 20
2
Migrate database to a new one using migrations.
Hi,
I''ve an applicattion actually in production wich i wrote in php last
year. Now, I''m working on a new version in Ruby/Rails.
So, can someone tell me how can I generate a migration so that every
time I run it the "data" from the old db get''s copied to the new one??
Note that _I''ve already the schema, I want something that automatically
could
2006 Apr 15
2
Users authentication & Autorization
Hi,
Is there any documentation about this??? any guideline to be started with??
I''m googled a bit, but I can''t find anything relatively serius about this.
Hope someone of you have a GURL (Good URL).
Thanks :-)
2005 Dec 16
1
jedit rhtml autocompletion
Does the jedit ruby plugin have rhtml autocompletion??? (autocompletion
of embedded ruby code and html tags...)
thanks.