Displaying 20 results from an estimated 6000 matches similar to: "upload progress"
2006 Jul 23
8
destroy vs delete
what is the difference between destroy and delete in AR
I am not sure what they mean by
"Destroys the record with the given id by instantiating the object and
calling destroy<http://api.rubyonrails.com/classes/ActiveRecord/Base.html#M000866>(all
the callbacks are the triggered). If an array of ids is provided, all
of them are destroyed."
in
2006 Jul 12
1
Test for file_column
hi all,
has any one had experience writing a test for file_column
I can write a test for testing the data in the form, but am not sure how to
test against the image
any tips?
cheers
dion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/08f7996a/attachment.html
2006 Jul 19
2
best practice deployment
what is the best method to deploy from a development machine to production
when you need slightly different files for each mode
do you use TWO files such as db.yml.dev and db.yml.prod
and use capistrano to deploy one or the other to database.yml
or is it better to have one file
and use conditions in your file such as
<% if ENV[''RAILS_ENV''] = "production" %>
2006 Aug 16
1
absolute default route in routes.rb
how do you set a default route in routes.rb
so that anything not recognised will default to :controller => ''home''
map.connect ''*'', :controller => "home"
does not work so well
cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 21
4
max upload file size
Can any one tell me if Rails has a max file size upload limit? and if so
what is it and can I change it?
Cheers.
--
Posted via http://www.ruby-forum.com/.
2007 Sep 05
8
Hi..Guys new plugin again
Hi..
Guys new plugin again
Foreign Key Associations is a plugin that automatically creates
associations based on foreign-keys. The associations are created at
runtime-ie. as your ActiveRecord models are loaded-so they will always
be up-to-date.
For example, given a foreign-key from a customer_id column in an
orders table to an id column in a customers table, the plugin
creates:
2006 Sep 23
8
acts_as_rateable plugin help!
Hello,
I am having some trouble figuring out how to use the rateable plugin. i
followed as close as the directions located at
http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system
but i fail at working it.
i am getting this error
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.rating
Extracted source (around line #1):
1:
2006 Aug 09
0
Re: association does not get foreign key
On 8/10/06, Dion Hewson <dionhewson@gmail.com> wrote:
>
> I have a 1 to 1 relationship using a similar example as below (has_one, belongs_to)
>
> but when I do the save, the foreign key of the child object is not set to the id of the parent object in the relation ship
>
>
> any ideas?
>
> cheers
>
> dion
>
> ---------------------------------
>
>
2006 Aug 18
3
Gathering information : drivers and UPS infos
Hello NUT !
In order to fill info structure I'm putting in the drivers, I need to
gather a lot of information.
The information I need, at best, is :
- For each USB UPS, the pair VendorID ProductID
- For each pair Driver/UPS supported, how was made the driver ? By the
manufacturer, by reverse engineering, ...
- Who contributed to which driver
- Who is the "maintener" of each driver
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 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,
2004 Mar 16
1
smbclient with lanman auth=no unable to connect
Hi all,
In short, how do you force smbclient not to use Lanman passwords ?
I specify these in my smb.conf
lanman auth = no
min protocol = NT1
Trying smbclient from the same host,
root@localhost root]# smbclient //fileservertest/private -U somebody
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.2a]
tree connect failed: NT_STATUS_WRONG_PASSWORD
Here are the logs,
[2004/03/17
2012 Jun 23
7
GPLPV xennet bsod when vcpu>15
Hello,
I installed the signed drivers from
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers and
I ran into a BSOD on a Windows 2008 Server R2 Enterprise domU with a
large number of vcpu''s. The BSOD is related to xennet.sys.
After some trials I found that it runs fine up to 15 cores. From 16 or
more, the BSOD kicks in when booting the domU.
The hardware (4 times
2006 Aug 28
1
Re: [nut-commits] svn commit r507 - in trunk: drivers scripts/hotplug scripts/hotplug-ng
Just a little tiny detail :
==============================================================================
> --- trunk/scripts/hotplug/libhid.usermap (original)
> +++ trunk/scripts/hotplug/libhid.usermap Fri Aug 25 19:18:19 2006
> @@ -21,5 +21,7 @@
> libhidups 0x0003 0x09ae 0x1003 0x0000 0x0000 0x00 0x00 0x00 0x00
2005 Feb 16
2
icecast stats
I don't mind using the password.
Just I am asking if there is some sort of protocol to retrieve the
information without playing with the xsl !!
I mean, to directly retrieve the wanted information, like
ME: Get MetaData
Server: Celin Dion - All comes back to me.
On Tue, 15 Feb 2005 10:22:11 -0800 (PST), Karl Heyes <karl@xiph.org> wrote:
> On Tue, 2005-02-15 at 14:28, Mohamed
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 Sep 20
17
Newbie : What is the number Rails adds in images URL, etc?
If I write :
<%= image_tag "rails.png" %>
I get in HTML :
<img alt="Rails" src="/images/rails.png?1158095722" />
What is the number at the end of the src tag ? What is it for ?
Thanks :).
Nicolas.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
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
2016 Apr 12
2
fts-lucene with virtual folders
Hi,
It looks like I've found something strange. It looks like dovecot
updates fts-lucene index every time I'm opening virtual folder that
contains FTS query:
indexer-worker(dion): Warning: fts-lucene: Settings have changed, rebuilding index for mailbox
dovecot-virtual is pretty simple:
archive/INBOX
BODY "test"
first of all, I'm trying to perform FTS in archive/INBOX
2006 Aug 02
2
upsdrv_print_ups_list and afferant reflections
Hello ups-dev
Arnaud asked me to add a function upsdrv_print_ups_list the drivers
upsdrv_print_ups_list : why
This function would print the vendorId and the productId of the UPS
supported by the driver (for USB driver at least). It could then be
parsed by a tool (that I'll have to make too), whose the goal would be
to automagically generate 4 sort of file :
- fdi file for HAL
- udev rules