Displaying 9 results from an estimated 9 matches similar to: "problem with options_from_collection_for_select() need id not name"
2005 Sep 28
0
search engine, select the selected option
hey, i have a search engine that let u search on the an employee
how can i make that if the user select "employee1" , on the next page
"employee1" is selected
this is my code (rhtml)
<tr>
<td><label for="employee_id">Employee</label></td>
<td colspan="3"><%= select "employee", "id",
2005 Dec 23
1
pagination problem
hey,
i have this problem
in the database i have 32 records
and the sql filtered 4 records
#getting the callerid records depending on the given paramaters and paginate it
@callerid_pages = Paginator.new self, CallerId.count, 10, @params[''page'']
@caller_ids = CallerId.find(:all, :conditions =>["geotags.firm_id = ? ",
@firm_id], :order => " geotags.address1
2006 May 22
8
flickr tag question
hey,
i am using the flickr wrapper for ruby and need to access the tags of a
specific photo. i got all the rest working. i must admit i am kind of new to
ruby, but i tried and tried and couldn''t figure it out. among other things i
want to read geotags like in my example here:
http://www.flickr.com/photos/whoisstan/146634506/
i''m sure it is deadsimple and i just overlooked it.
2005 Jan 27
0
samba server not accessible
Hi,
i installed samba 3.0.10 from scratch (downloaded and compiled the
beast) on my debian linux (kernel 2.6.10).
i joined the windows 2003 domain and that was successful, i also use
winbind and when i perform a wbinfo -u of wbinfo -g, i see all the users
and groups.
I also shared some directories, changed my smb.conf file and restarted
the daemons and i try to get on my samba server with one of
2005 Dec 29
3
Post problem with select lists
hey,
i have this problem
how come i always get -1 for the select list??
rhtml
First, select a client.
<select id="client_id" name="client[id]" onChange="submit();" >
<%= options_for_select(@client_options, @client_id.to_i) %>
</select><%= @client_id %>
controller
if @request.post?
if @request.xml_http_request? #called by ajax,
2017 Oct 29
4
[Bug 13109] New: rsync hangs during transfer of many small files
https://bugzilla.samba.org/show_bug.cgi?id=13109
Bug ID: 13109
Summary: rsync hangs during transfer of many small files
Product: rsync
Version: 3.1.2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
2011 Aug 12
8
Need some help with regular expression
I need to validate a string from a user (a location for use with
geotagging) that is. I want to make sure that the user specify a city
and a country in my inp ... So i wrote this =>
validates :usri_location,
:presence => true,
:format => {:with => /^[a-zA-Z]+{\,\s}+[a-zA-Z]/i},
:on => :create
I want to make sure that the user writes city,
2008 Sep 02
3
gps tags in vorbis comments
hi,
is there an official or semiofficial way to store gps location in vorbis
comments or any ogg file. mp4 and exif store at least:
- location name (e.g. London, UK)
- longitude (degree as double), latitude (degree as double), elevation
(meters) (these three according to WGS84)
Stefan
2002 Jul 04
4
With bounds checking patch for gcc-3.1 problems if using AES
Hello developers,
some informations before I come to the problem:
At work we're using Open-SSH 3.4p1 under Solaris 8. I compiled the
Open-SSH by myself with gcc-3.1. In the gcc is the bounds checking patch
included
(http://web.inter.nl.net/hcc/Haj.Ten.Brugge/bounds-checking-gcc-3.1-1.01.patch.bz2).
With this patch I compiled:
- prngd 0.9.25
- zlib 1.1.4
- Open-SSL 0.9.6d
Everything