similar to: Ruby Hash wierdness

Displaying 6 results from an estimated 6 matches similar to: "Ruby Hash wierdness"

2006 Apr 15
0
drag&drop strangeness
hi people! I have a view like this: # list.rhtml <form id="search"> <ul style="list-style: none;"> <div id="searchfields"> <%= render "contacts/search_fields" %> </div> <div id="trash"> trash me </div> </ul> <%= drop_receiving_element
2006 May 30
0
Problems when applying search to filter rows.
Hello, I am trying to create in the main Layout of the application fields of selection of fields of the model, and other to insert its value. Next I put a search button, with the idea to leak by the search in the view of the model where it executes this button. I have generated the views with ajaxscaffold. I do not know if what I try to do it does of this form or another one. My code is the
2005 Dec 19
2
Advanced search/filter use cases
I''ve been working on an application lately that has a lot of advanced search and filtering functionality (with ranges and substring searches for each attribute). Despite being a pretty common use case, this isn''t supported particularly well by any framework I''ve used, including Rails. I''d like to fix that. :) Right now, my major pet peeves are: 1. Long,
2006 Jul 17
2
IndexedSearchEngine Question
Good evening -- I''m really new to Rails and I was looking for a way to use IndexedSearchEngine with a "get" call instead of the default "post". I have the script by itself on a page /myapp/app/view/search/rhtml and I want to be able to bookmark the query string. I can''t seem to find where in the code the call to form_tag is. This is as likely as not a
2012 Feb 21
10
Search of multiple columns
I am currently writing a search method for my rails applications and at the moment it works fine. I have the following in my game.rb: def self.search(search) if search find(:all, :conditions => [''game_name LIKE ? OR genre LIKE ? OR console LIKE ?'', "%#{search}%", "#{search}", "#{search}"]) else find(:all) end end No that searches
2012 Sep 08
4
dash symbol
In the example below, what is the dash doing between the class attribute and array: (field_helpers - [:label, :check_box, :radio_button, :fields_for, :hidden_field, :file_field]).each do |selector| -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to