search for: geotags

Displaying 8 results from an estimated 8 matches for "geotags".

2005 Dec 23
1
pagination problem
...m 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 ASC", :include => [:geotag], :limit=>@callerid_pages.items_per_page, :offset=>@callerid_pages.current.offset) How come i get extra next and previous tags, with no records diplays when i count the next and previous ta...
2005 Dec 01
0
problem with options_from_collection_for_select() need id not name
...list and it checks on id not name if @request.post? #called by ajax if @request.xml_http_request? #called by ajax @geotag_id=params[:geotag_id].nil? ? -2 : params[:geotag_id] else @geotag_id=params[:geotag][:id].blank? ? -1:params[:geotag][:id] end else @geotag_id = -1 end i use this @geotags = Geotag.find(:all, :conditions =>[''firm_id = ? and client_id = ? '', firm_id, client_id]) @geotag_options = @geotags.collect {|g| [g.address1 + ", " + g.address2 + ", " +g.floor + ", " + g.city ,g.id]} <%= select("geotag", "id&qu...
2005 Sep 28
0
search engine, select the selected option
...<td colspan="3"><%= select "employee", "id", @employees.collect {|e| [e.last_name + " " + e.first_name,e.id]} %></td> </tr> code controller @employees = Employee.find_all_by_firm_id(firm_id, :order =>"last_name ASC") @geotags = Geotag.find_all_by_firm_id(firm_id, :order =>"address1 ASC") @employee_id = params[:employee][:id].blank? ? '''' : params[:employee][:id] @geotag_id = params[:geotag][:id].blank? ? '''' : params[:geotag][:id] @time_entries = TimeEntry.find(:all, :con...
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,
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,
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. appreciate it, stan -- www.semapedia.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermai...
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
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