Displaying 20 results from an estimated 20000 matches similar to: "How to pull down menu"
2006 Jul 16
7
form_helpers ?
Just a quick silly question , are form_helpers actually helper.rb files ?
Stuart
2009 Jan 27
2
Login form_tag with select_tag option
Hi all,
In the application i develop, a sophisticated login system is required.
Being a newbie in Ruby, i''m not comfortable with the select tag in the
form tag.
My requirement:
2 tables - User(LoginName, Password, RoleId...) and Role(RoleId,
RoleName...)
View - RoleNames to be loaded in the drop down box and On submit, RoleId
to be passed to controller for authentication.
My Code
2006 Mar 30
2
help : No database specified. Missing argument: database.
Hi,
I''m new to Ruby programming. I''m wnt thru the example by curt in onlamp and was stuck up in the midst of configuration.
I''m getting the "No database specified. Missing argument: database." error when i tried creating a table recipe in cookbook db .
My database.yml contains the following entries
Development:
adapter:mysql
host:127.0.0.1
1998 Sep 18
0
smbclient can back up WNT system disks?
Can the "tar" function in SMBCLIENT be used to successfully backup and
restore a remote WNT 4 sp3 system disk? I'm guessing no, because:
1. active registry files, so restored disk may not be bootable
2. loss of ACLs and other "extra" file properties in tar format
Anybody tried it?
This is for machines with SCSI adapters, so even if we have to replace the
system disk
2008 Feb 05
1
Unknown method error with control_for
Is there a trick to using control_for in forms? I''ve been trying to
make a simple form with a couple of text fields and I keep getting a
unknown method error.
Thanks!
2006 Mar 22
4
Newbie - populating select list from db
Can''t seem to find an example of this anywhere - how do I populate a
select list in a form from a database?
I have a form to create a new task. The task is for a client, so there
should be a select list populated from my clients table. I thought this
would work:
<%= select ''task'', ''client_id'', Client.find_all, "id", "name"
2011 Mar 14
2
how to create a form using ruby on rails
*since i''m totally new to this technology , im facing lots
of difficulties here.*
*
*
*i want to create a form with few fields which shud be connected to mysql
database using ruby on rails. can anyone help me with this difficulty?*
*
*
*thanks..*
*
*
*regards *
*
*
*mandrekar salim*
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Oct 20
2
form_tag not working correctly?
So I''m trying to make
<form action=''/path'' method=''get'' class=''ajax_box''>
using:
<% form_tag :action => "search_for", {:method => :get, :class =>
''ajax_box''} do %>
but I get:
<form action=''/path?method=get&class=''ajax_box''
2006 Jun 27
1
Scriptaculous Problem
Hi!
I am using the auto complete feature provided by Scriptaculous in an
Rails application.Here
is have to write following string in the view:
Select name:
<%= text_field_with_auto_complete :contact, :name %>
and i have to write following write in the controller:
auto_complete_for :contact, :name
But after putting in this code it does''nt work. I knw that i hve to
create a
2010 Jul 16
31
Added associations but don't see generated methods
Hi,
I''ve got a Rails app working that includes two two classes, etc.:
Expense & Vendor. I eventually learned that the mental concept I had
of their relationship should be express in Rails as:
class Expense < ActiveRecord::Base; belongs_to :vendor; end
class Vendor < ActiveRecord::Base; has_many :expenses; end
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
Hi,
We have updated our TIS authserv support patch for OpenSSH 2.5.1p2. You'll
find it attached to my message.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
-------------- next part --------------
diff -urN openssh-2.5.1p2/Makefile.in openssh-2.5.1p2-tis/Makefile.in
--- openssh-2.5.1p2/Makefile.in Sun Feb 18 20:13:33 2001
+++
2008 Nov 14
1
How to enable R on-line search in HTML help
I use FireFox as my favourite web browser on my Mac OS/X 10.5
I double-checked that Java and Java scripts are enabled for FireFox. Nevertheless, I cannot use R on-line search help.
I called Apple Tech Assistance but they do not support FireFox. We tried to set Saphari as the favourite browser but
evidently R does not support it.
Does any one knw of a workaround this annoying problem ?
Thanks a
2000 Dec 07
1
[PATCH] tis authserv support
Hi,
We at BalaBit IT Security Ltd developed a patch against openssh 2.3.0p1 to
support TIS authserv authentication. TIS authserv uses a simple protocol,
and supports CryptoCard, SKey, password etc. authentication.
The commercial versions of SSH support this protocol, OpenSSH implemented
SKey on its own using the protocol primitives originally invented for TIS
authentication.
Our patch is an
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list,
lets make a long list on Rails cheatsheet.... ;)
1)
2)
3)
4)
.
.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
2009 Dec 28
2
How to get parameters to controller from view using <input tag?
Hello! I''m everywhere searching the answer for my question. How to get
parameters to controller from view using <input tag. But I want to do
this without db. I have the code:
class TranslateController < ApplicationController
def start
@time = Time.now
end
def result
@rez = params[:name]
end
end
<html>
<head>
<title> Translate numbers from 10 to
2020 May 19
5
FTS-lucene errors : language not available for stemming
I'm getting some log errors with clucene that I am having no luck tracking down on the interwebs.
Errors:
May 19 05:05:16 indexer-worker(gessel at blackrosetech.com)<62971><aPAEI3zLw17A/QAA0J78UA:EF25M3zLw1779QAA0J78UA>: Error: lucene index /mail/blackrosetech.com/gessel//lucene-indexes: IndexWriter::addDocument() failed (#4): language not available for stemming
May 19 05:05:16
1999 Jun 15
0
NT 4 sp3 audit + samba = total mess
A samba server (2.0.2 linux/intel) is the primary domain server for "SAF".
5 workstations (nt 4sp3 intel) belong to this domain. In order to trash the
event viewer, do the following:
As administrator:
1. select any file (on C:, this has nothing to do with samba file sharing)
2. properties
3. audit
4. add
at this point it tries to look up the users in SAF, fails, and Dr. Watson
1998 Oct 03
0
Suggested 2.0.x version for PDC?
I tried building the 2.0.x alpha from the CVS site on our new Linux box -
but no joy. It allowed WNT 4sp3 boxes to mount a share using the domain
username/password, but it wouldn't let users log onto the consoles of the
WNT boxes using the same domain username/password combinations. (The log
file from the interaction was not very useful - it was created for each
machine which tried, but had
1998 Sep 20
0
mbclient can back up WNT system disks?
You asked:
| Can the "tar" function in SMBCLIENT be used to successfully backup and
| restore a remote WNT 4 sp3 system disk? I'm guessing no, because:
[snip]
| This is for machines with SCSI adapters, so even if we have to replace
the
| system disk after a failure, we can plug in an external disk, boot
that,
| and restore the internal disk while running on the external.
1998 Sep 28
0
1 out of 5 wnt 4sp3 machines acts up
Ok, I'm stumped. I've got what appear to be 5 identical WNT workstation 4
sp3 machines. All have been configured to run off the primary domain
controller (Samba 1.9.19). On one of these ONLY the domain logins
generates a single popup window which says:
Incorrect password or unknown username for \\machinename\C$
and presents them with a username/password dialog box.
The users can