Displaying 20 results from an estimated 30000 matches similar to: "how do I get the IP address of form poster?"
2006 Jul 23
6
how do you give focus to a form field?
When you put up a page with a form on it and the top item is a text
field it would be nice to have that field already focused instead of
forcing the user to click in it before they start typing. Is there a
rails (i.e. probably Prototype) way of giving focus to a field? I did
some searching and found nothing.
thanks,
jp
P.S. I''m on a Mac. Perhaps a winoze and/or unix automatically
2006 Jan 10
14
Not wishing to instigate a DB war, but...
Can I get some opinions on which free DB to use with rails for a virtual
server that will eventually be doing lots of heavy database lifting?
Not a lot of heavy duty querying per se. Think multiple simultaneous
forums and blog sites and the like.
I know each of the different DB possibilities such as MySQL and
PostgreSQL has plus points and minus points. I''m particularly
interested
2006 Aug 17
3
Developing in different versions of rails at the same time?
Hi,
I was wondering if some of you have had to keep more than one version of
Rails on your machine at a time? If you have more than one customer,
they may have different requirements. You might need to work on a
pre-existing app that is not scheduled to be moved to a newer version of
Rails right now. How is the best way to deal with this?
thanks,
jp
--
Posted via
2006 Jul 13
2
Intel Mac, Rails, MYSQL - access denied
Hi,
Nuby on Rails here trying to bring up an existing app on a new
installation.
The whole ruby/rails/mysql/lighty installation was done per the much
touted "hivelogic article" that runs through all the steps.
I am running into a permission error when I try to do a rake migrate to
set up a session database needed by this existing app. Extracted from
the trace...
** Execute
2006 Jan 23
3
Can Google (et. al.) see rails pages?
Hi,
Noob here.
One problem faced by developers of active content is making sure that
the final results of their magic result in URL''s that Google and other
search engines are comfortable with. Otherwise, your content won''t ever
get spydered and indexed and ultimately returned in a google user''s
results pages.
In reading the agile rails book, it seems that the
2006 Jul 18
5
mac users: what program do you use to create your views?
just wondering if there is a better way to create a nice view other than
using iweb. like, it would be nice if you can design a view, and then
just add the ruby tags.
thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 11
9
I have boosted my productivity !
Just a positive experience I would like to share with you : testing is
great on paper but very tedious to apply because nobody wants to run
manually the tests by hand.
Last week I have discovered zentest, an automated test process command
line utility. That was at the beginning (hopefully) of a new project.
Believe it or not, I have started to code most parts of the application
without using
2008 Jul 06
12
Action Mailer Driving me insane
Ok, maybe its a short walk, not a drive...
I have it working just fine using smtp in development env from my OSX
machine. When I deploy it to the server (which happens to be the same
box where the smtp server lives), no email, no errors, nothing in the
Postfix logs.
I''ve double checked that my production and development action mailer
settings are identical. Here''s whats in the
2008 Feb 13
6
trouble updating partial from collection
I have a view where I render a partial over a collection. Each instance
of the partial includes a <div> with an id specific to that instance.
Inside the partial, there is a select tag for "year". I''m trying to
change some of the contents of the partial when user changes the year.
I''m using this in the view:
<%= select_tag :year,
2006 Mar 13
9
Subversion problem - since you guys talked me into it :)
Following the advice here I''ve been trying to get subversion installed
and working from my virtual dedicated server this weekend. I believe
everything is installed properly, and that all that''s left is to get the
apache httpd.conf file set up correctly.
to talk to my server with my client I''m using the path:
http://svn.mylittlecorneroftheinternet.com/svn/repos/
error
2008 Oct 27
8
why can't johnny download?
I''m working on an app that includes the feature to allow user to
download a csv file of their data.
I''ve got it working on my local machine, but when I deploy it, the link
I''m making doesn''t work for doing the download. The file IS being
created in the location I''m intending, but the file download only works
on my local machine and not on the server.
2006 Jun 06
9
How to protect images from public?
Hi,
I''m trying to figure out the best way to protect images uploaded by
users who may wish to keep them private.
For example, if they are uploaded in the default file_column location
(/public/blah/blah/1/) then someone can simply type the URL
http://www.blah.com/blah/blah/1 and get the image.
I can store the images in a non-public directory in the rails app (ie:
/railsapp/images/X/)
2006 Mar 08
23
rubynuby == I''m a''scared to set it all up...
I''ve been mostly lurking here with an occasional nuby question for a few
weeks now. It seems like Ruby and Rails and the many libraries and
tools growing up around it are a remarkable toolset. Unfortunately I''m
finding the whole enchilada a bit daunting.
It seems that if one is to truly tap into the power of this thing and do
a significant amount of developing, one needs
2008 Jan 01
26
Did DHH have a suit on?
So I''m wondering about the origin of "ActiveRecord" and "ActionPack" and
the like in Rails.
I''ve always thought that perhaps DHH found himself in a suit one day
(maybe he had to attend a friend''s wedding or something), and as long as
he had the suit on, decided to lapse into a one of the barely lucid
frenzies that Marketing people are prone to when
2006 Mar 04
4
AjaxScaffold 2.2.0 released with graceful JS degredation
Just wanted to let anyone know that might have checked out the generator
before and couldn''t use it b/c you''re project required graceful degredation.
Well its in there now. Thanks everyone and enjoy.
Demo: http://ajaxscaffold.height1percent.com
Release Notes:
http://www.height1percent.com/articles/2006/03/04/ajaxscaffold-2-2-0-released-with-graceful-js-degredation
--
Richard
2006 Jan 12
2
Develop locally, Debug Globally?
Total Ruby Noob here. Just in the throws of reading the books and
choosing an isp for my server etc.
If you are developing a "one-off" rails app with the intent of using it
on an isp hosted server, would it normally work better to develop and
debug the thing locally (like on a Mac for instance), and then go
through a round of "move it to the server and retest everything there
2009 Aug 16
11
best "Rails on the cloud" solution?
A search of this forum for "cloud" brought up a pretty anemic and mostly
year or more old list of stuff. That was a bit of a surprise to me.
I''m interested in getting opinions on the easiest way to deploy a Rails
app to a well known (S3 or similar) "cloud" server.
It should be something with little or no "installation" or
"establishment" fees and
2007 Mar 07
4
Ajax and IE6 - is there some sort of "trick"?
Hi,
I''ve got some Ajax stuff that shows more or less of a complex form based
on a radio button selection. A "radio_handler" controller action is the
action for a form handler. Some seemingly simple "replace_html" fires
as a result of different radio buttons being chosen (which should then
show more or less of the form).
This all works just great on Mac Safari and
2006 Jan 09
9
Noob, installing rails on a goDaddy virtual server?
Hi,
I''m completely new to all of this. Not even certain this is an
appropriate forum for an installation question.
I''m just about to plunk down some money to get a virtual server. In
looking over the list of isp''s elsewhere on this site, goDaddy isn''t
mentioned - probably because they don''t offer rails as a standard
distribution. There are some
2006 Aug 16
11
just don''t ''get'' "has one" and "belongs to one"
Well, I understand what they do and how, I just don''t get why!
It seems to me that any time you would have this relationship between
two tables...they should be one table! Agile Rails book gives what
seems to me to be a lame example for this. They use the example of an
"invoice" and an "order". An invoice belongs to an order and an order
has one invoice. Seems