Displaying 8 results from an estimated 8 matches for "timecard".
2006 Jul 27
1
form_remote_tag
How can I get a name/id for a form using the remote form tag?
<%= form_remote_tag :url => { :action => :add_to_cart, :id => timecard }
%>
gives me:
<form action="/timecard/add_to_cart/4"
method="post"
onsubmit="new Ajax.Request(''/timecard/add_to_cart/4'',
{asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)});
return f...
2005 Jun 10
1
Unusual permissions problem
...f users to have read access. Simple,
right? First, I set up the directory structure per Linux:
(According to the samba guide, it's more efficient to use sticky bits on the directory instead of using the force user clause in the
smb.conf file.)
drwsr-s--- 2 tcuser tcgroup 8.0K Jun 10 08:06 timecards
Testing:
Log in as a user who is a member of the tcgroup, can read all files in the tree: Success
Log in as tcuser, can read, write, and delete all files in the tree: Success
So I'm feeling pretty good about the Linux permissions. Now time to create the share:
[timecards]
comment =...
2001 Feb 08
1
Massive confusion
...ing an Internet host, I would get duplicate
replies (presumeably because the packets were being sent via both Linux
gateways.
Do I need to write ipchains rules to get this to work with tinc?
Also, the primary reason for doing this is so users at the remote site can
use this lame Windows network timecard app. Does anyone have any experience
doing this?
If my information is not specific enough, I'll be happy to supply more...
but right now I'm not even sure where to start.
-=Fozz
--
Doran L. Barton <fozz@iodynamics.com> - Chief Super Hero - Iodynamics LLC
< http://www.iodynami...
2006 Jan 23
0
Indexed Text Input -> Ajax with Helpers
...ot;>
</div>
<%= auto_complete_field ''timecode_'' + timedetail_counter.to_s +
''_timecodedesc'',
:update => ''timecode_'' + timedetail_counter.to_s +
''_timecodedesc_auto_complete'',
:url => ''/timecard/auto_complete_timecodedesc'' %>
where /timecard/auto_complete_timecodedesc is a simple lookup which
ignores the index (since there is only one field being updated at a
time) and returns the required unnumbered list.
If this is the "easiest" way to do this, could I not write m...
2006 Jan 30
1
auto_complete_with_index_for
I have a crude hack to allow auto_complete to work with indexed text
fields. I needed it for a timecard entry form with an arbtirary
number of records which can be added/changed/delete willy-nilly by
users. One of the fields is a perfect candidate for autocomplete
since it references a database object with a large number of choices
and long descriptions. Using a select list is extremely ugly in thi...
2006 Jul 13
0
Loading different fixtures?
...e patch from ticket 1911 is against 0.13.1; I''d be
surprised if it worked on 1.1...
I''ve also tried the following:
class RolldownTest < Test::Unit::TestCase
self.fixture_path =
"#{File.dirname(__FILE__)}/../fixtures/rolldown/"
fixtures :authorizations, :timecards #, etc
#...
end
This works when I just run the test as a standalone, but it utterly
hoses all other tests when I run rake.
Any other suggestions?
Thanks,
-Sam
--
Posted via http://www.ruby-forum.com/.
2007 Sep 09
0
Samba PANIC
...mode = 0700
force directory security mode = 0700
[home]
comment = This is private storage area
path = /home/%u
read only = No
create mask = 0700
directory mask = 0700
[Public]
comment = Public space to exchange file and share information
path = /usr/SOS/clientdata/Ushare
invalid users = timecard
read only = No
guest ok = Yes
hide special files = no
hide unreadable = Yes
[f-prot]
comment = F-Prot anti virus definitions
path = /usr/local/f-prot/lan
read only = Yes
guest ok = Yes
[Tosh1]
comment = Toshiba Dinasore thingy
path = /var/spool/samba
printer admin = root
read only =...
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello,
I just can''t seem to find a way to extend a form dynamically in ROR.
Say I am writing a recipe website. There is one form to enter the
recipe. There is room for N number of ingredients (let''s say a text
field for each ingredient name and selection list for the amount). What
if the user wants to add more than N ingredients as he types them in?
how do I do this without