Displaying 20 results from an estimated 20000 matches similar to: "max upload file size"
2006 Jul 18
3
DB Migrations & Column Order
Hello,
I created a table and about 10 migrations down the line I decided that
I needed to add an ID column (this was actually a table for a has_many
:through and I recently realized that it needs an ID column, unlike
HABTM tables). I am a big perfectionist and I frequently run "SHOW
COLUMNS IN table;", so I naturally expect to see the "id" column the
first one listed. However,
2006 Jul 19
6
Howto: Check_box with a variable (no model)
Hi,
I would like to put a checkbox on a form where the input field is a
variable rather than a field in a model.
The normal way (with a model) would be:
<%= check_box(''client'', ''accept'', {}, "1", "0") %>
But since accept is a variable @accept and model client will not be
there, how do I make a check box work?
Regards,
Paul
2006 Aug 03
5
Cannot find gem for Rails error from dispatch.cgi
Hi All,
I''m developing a Rails app with Rails v1.1.4, but when I upload it to
Dreamhost and try to serve it with dispatch.cgi, I get the error "Cannot find
gem for Rails =1.1.4". However, I have installed the 1.1.4 gem in my home
directory and set GEM_PATH to look there; additionally, rake throws no errors
and "rails -v" displays "Rails 1.1.4". Any
2006 Jul 18
5
Right-click popup menu?
Hi,
I have a partial frame on the side of a page which shows the current
users logged in (as text). Now, I would like to be able to right-click
on each user''s name, and get a menu containing links such as "View
Profile", "Send Message", etc. These links could open in a new window.
Is this possible? Any help would be greatly appreciated.
Thanks,
Aditya Rajgarhia
2006 Jul 23
3
help jedit
Hi,
i was hoping (maliciously enough) if someone has also bumped into this
problem. apologies in advance; this isn''t a rails/ruby question, but as
i am a newbie developing in RoR and switching to Linux correspondingly,
i was referenced to use Jedit as the prefferable editor for rails/ruby.
but i have been having some trouble installing it - - i was wondering if
anyone had bumped
2006 Jul 24
1
upload progress
what is the best method for adding upload progress functionality
there are the fcgi and mongrel plugins...
but is there an HTTP Server agnostic way of doing upload progress stats
cheers
dion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/7c477b9c/attachment-0001.html
2006 Jan 17
4
find_by_sql column ordering defect?
Hello.
I have a program that accesses a metadata (translation) table for column
names as well as the ordering of columns for a specific model. Also in
there is a collection of bool options such as column_visible_on_form,
column_visible_on_screen_quicklist etc. The idea is that our customer
can specify to a certain extent how their layout/user interface will
appear.
To accomplish this, I use
2006 Jan 05
1
Looping through all models in the application
Hello.
I have an application that depends on a table/model
(ModelInternationalization) that provides international translations in
various languages for all the model/table and columns names as well as
some other stuff (whether the column is visible on forms, dropdowns,
lists, reports etc).
I need to create a management interface for this translation stuff (the
plaintext stuff, btw, will be
2006 Jul 21
20
Struts vs RoR
hi,
I recently attended one of the ruby meetings that we have in my city.
There one of the speaker said that google,amazon .. are working on RoR
but still the performance of RoR is not at par with J2EE others....
he meant that though google,amazon working o it they will not bring it as
front applications only parts
the reason ruby is slow in comparison to other languages....
and in real time
2005 Dec 26
16
How to create application with single table with primary key
I''m trying without any succes to create application in which I have
one keyed table. The table structure is:
CREATE TABLE employees (
pin INTEGER PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL
);
Whenever I enter new record, I need the the filed pin is also filled
by user. Whenever a user edit the table, there should be option to
edit or not edit the
2009 Jan 03
2
Bash cgi upload form
Anyone have a function or script for uploading files from a web
browser with a bash script? I know this is possible to do with Perl,
I'm wondering if the same is possible using only bash.
2006 Aug 09
2
layouts, stupid problem :P
hi! how can i put different layouts for the actions in the same
controller?
i was putting the layout always at the beginning of the controller, and
i tought, if i put a layout in an action, it would be work, but nop.
i mean:
UserAdminController < ApplicationController
layout ''admin''
...
def edit
layout ''edit_2''
...
end
end
how can i resolve my
2006 Aug 09
6
How do you desing forms in RoR
Hi all,
what is the best way tod esing a form in RoR?
Do you use Dreamweaver or something similar?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
5
HELP!!! New to Ruby
Hi all,
I am new to Ruby programming language. I know that require ''gemname'' is
used for using some gems in our application. I have a sample application
developed in Ruby on Rails which have the following lines of code:
require ''zlib''
require ''stringio''
Can you plz help me to know what these gems are used for. It would be
very helpful if
2006 Jun 28
6
select_tag
in my controller
@cursos = Curso.find_all
in my view i''m trying to do a select_tag with the results @cursos, using
a helper
select_tag "name" options_for_select(@cursos) --------> not works
select_tag "name" @cursos --------> not works
how to do it, using the helper?
tks
--
Posted via http://www.ruby-forum.com/.
2007 Dec 14
2
file or website upload scripts / programs and security protection
Holiday Greetings!
Ummmmm scenario is centos 4.5 standard apache webserver
I have a client that is really struggling with website file upload concepts.
Ive been googling for some scripts or other programs that allow uploading of
files to proper directory(ies) after authentication
I am definitely concerned about security issues of course.
I have never implemented this before because everyone I
2006 Jul 20
2
ROR dev on Different Ruby versions
Hi,
First I would like to ask if someone could give me the direct link to
the mailing list this forum mirrors. This is so I can do searches
directly and not bother folks with repeat questions.
Now my question:
I recently installed a ROR app built on Ruby 1.8.2 and moved it to ROR
on Ruby 1.8.4. I got a few errors and had to regenerate my app in the
later and copy the App files and a few
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi,
Just trying to get my first database based rails app up on
dreamhost.com. The app was working prior to putting in mysql DB usage
but I''m just stuck on getting the app working with mysql. I''ve already
created the database and can connect to it manually.
Below is the error I get after running the rake migrate. It worked OK
on my home PC environment. I did change the
2006 Dec 02
1
How to Set Max File Size for Upload?
I used to use <input type="hidden" name="MAX_FILE_SIZE" value="100000"
/> in my PHP days, but it doesn''t seem to work with Rails. I always
thought MAX_FILE_SIZE was an HTML spec, but upon a little research, it
looks like it is PHP specific. Can anyone confirm?
Anyway, I want to prohibit a user from uploading large files. For
instance, the user has the
2006 Sep 12
3
Weird TZ Behavior in 4.1p1 and 4.3p2 on AIX
Hi,
I am using PAM authentication on 3.8p1. In my PAM auth module I can
turn on debug logging that includes a timestamp in the form "mm/dd/yy
hh:mm:ss". Life is good.
I want to upgrade from 3.8p1 so I can use PAM for PasswordAuthentication
in addition to keyboard-interactive. I have compiled both 4.1p1 and
4.3p2 and the PAM authentication for both methods works fine in both