similar to: Search of multiple columns

Displaying 20 results from an estimated 30000 matches similar to: "Search of multiple columns"

2012 Sep 04
3
Thinking Sphinx and Ransack in the same application?
I have Ransack set up to do simple attribute-based search in my application. Now, I''m trying to add TS to the app to enable full-text searching. Trouble is, both of these define a Model#search method. Has anyone here ever tried this combination? Is there a way to rename the search method on either of these? Thanks in advance, Walter -- You received this message because you are
2011 Nov 20
3
Use Ransack with radio buttons for boolean values
Hello I''m trying to search for active and non active users. These radio buttons work just fine except that it didn''t reselect itself after the form has been submitted. So, what should I do to ensure it will be selected just like how my text field populated automatically after the form has been submitted? = search_form_for @q do |f| = f.radio_button :is_active_false, 1 =
2013 May 27
3
Ransack, acts-as-taggable-on and checkboxes in search form
need some help on ransack filtering. I have model Project, which has many tags through acts_as_taggable gem. Project.rb: class Project < ActiveRecord::Base include PublicActivity::Common belongs_to :customer belongs_to :category has_many :attachments, :as => :attachable has_many :reports, :dependent => :destroy has_many :messages, :dependent
2012 Feb 23
4
Undefined Method
Hi all, I am currently trying to get a bunch of links to to display all the related console records upon button click so e.g. If a user clicks on the Dreamcast link then I would like it to display all records that have Dreamcast stored as their console. I have the following example code in my index class: <%= link_to ''DREAMCAST'', games_path(:console =>
2012 Oct 09
10
Auto refresh the drop-down
I have an option in dropdown like "Add new option" written using grouped_collection_select. And when user clicks on the "Add new option". A pop up dialog appears to add a new value. And when I click create it hits the database and adds the value to the db. But It never updates the dropdown list. Suggest me a way to auto refresh only the current dropdown with the new
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello! I''m trying to create a simple image "popup" effect using Lightbox2, http://www.huddletogether.com/projects/lightbox2/. But I don''t get it to work. My code looks lite this: <span class="ad_image"> <a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%= ad.image.url(:thumb) %>"
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all, When Trying to upload 2GB of stream i got invalid content length error am running Apache as frontend server to mongrel and chrome as my browser. One more thing one i do it with mongrel alone am able to upload this 2 GB of stream ,cud anybody tell me whats the problem and how do i configure content length in apache?? -- Posted via http://www.ruby-forum.com/. -- You received this
2012 Dec 08
9
link_to popup
Hello All, I have a link. Which I want to open as a new window :- <%= link_to "Google", "https://www.google.com", :popup => [''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes''] %> But it is opening in the same page.... Any suggestions how to do it ?? Even hover will be
2013 Jun 20
8
[HELP] - Ruby Drag and Drop script on screen element in Mac OS
Hi All , I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the element continuously for some time , please let me know how to do it in ruby in Mac OS ? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe
2011 Jan 31
3
Webmail application in ROR
Dear all, Do you know any webmail apps in Ruby on Rails ?? Though I found "mailr", it does not seem to be working with Rails 3.0. If anybody have any ideas about such apps, please do reply. Thanks !! -- 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
2012 Mar 27
4
render :js => "window.close();" wont work
when i try to do the following in a action render :js => "window.close();" wont work it still response in the browser,but the window wont close. i dont know why.thx! -- *愿爱与喜悦心与你同在! 石岩敬上 大连东软信息学院 计算机系软件工程应用方向 Dalian NEUSOFT Institute of Information 中国-大连市软件园路8号 邮编:116023 **Mail:hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org*
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working, and seems convoluted. Essentially, a controller method is called, and exits by rendering a partial the purpose of which is to simply clear a textbox in the view. So I am calling the partial which established the textbox -- but it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
2011 Sep 25
4
checkbox use question
Hi, how can I use checkbox in a form to show all customers from table customers, Course Users Customers ========= ========= ============= user_id customer_id Customer_name I would like to select customers from the checkbox list, then add to the course table only users of the selected customers. thanks dani -- Posted via http://www.ruby-forum.com/. -- You received
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2010 Sep 16
5
vestal_versions -- can I set it to ignore certain columns?
I''d like my published boolean to be excluded from the calculation as to whether a version is created or not. Can anyone suggest a way to do that? Thanks, Walter -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2012 Mar 20
4
Multiple Paperclip Images on Index
Hi, I am working on a project that is using Paperclip to upload multiple images to an Asset model. my Post model has_many Assets. As per this tutorial/screencast... https://github.com/Emerson/Multiple-File-Uploads-with-Paperclip-and-Rails-3/blob/master/app/views/posts/show.html.erb"> http://www.emersonlackey.com/article/paperclip-with-rails-3> This all works fine and I can
2013 Nov 22
4
Delayed JOB ISSUE
Hi all I am using delayed jobs to send sms I am using "http://github.com/tobi/delayed_job/tree/master". In my other website my delayed job is working fine. Recently I have took one new domain in the same server which I have my other app''s which are working fine. Now the issue is after taking new domain and running the old app with new domain delayed job is not working
2012 Jan 18
4
Adding a custom select to omniauth register form
Hi, I''m creating a rails app using omniauth 1.0.1 on Rails 3.1.3 and ruby 1.9.2 I''m having trouble adding a select field that populates from a class constant in my user model. Here''s my model: class User < ActiveRecord::Base ROLES = ["Customer","Service Supplier"] has_many :leads validates_presence_of :role def
2012 Aug 25
12
index.html in rails-app/public
Hello All, I have created a rails application on hosrtmonster and created symbolic link of app''s public folder. Now default link is to index.html of rails-app/public folder. I want to set another page as homepage. I also set root in routes.rb file but its not working, also remove default index.html from public folder. Can anyone tell me how to add link
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy domain parking page. Anyone know what''s happened to railsfreaks, and more particularly this plugin? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this