so there I have this code in rails <%= f.label :year, \"Year:\" %><br /> <%= f.text_field :year %></p>
I am trying to create search form when user search for a course it returns list of user\'s names who are taking that course.So i have user table,course table and user-course join table.I want o use me
While using metasearch gem to do a somewhat complex search I got an error when using the \"_contains\" option an numerical(decimal) field and later found out i开发者_Go百科n the documentation that it
Fist a little background: I\'m using Rails 3.0.7, Postgres 9.0 and MetaWhere/MetaSearch 1.0.4 I have a very frustrating problem with getting the unique records when querying the my database.
I’m using Rails 3.0.7 and ruby 1.9.2 with cucumbe开发者_StackOverflowr and capybara. I just had this problem, and I can’t find a solution :(
I have a model: class Event < ActiveRecord::Base default_scope :order => \'date_begin\' end There is a sort link in a view file:
Im trying to make a metasearch or alternatively a scope that gives me all objects that doesnt have any of its has_many-association equal to type == \"Something\".
I have an issue in a search form with meta search : When I submit my search form (method get) I have a 500 error because of the utf8=✓ param added by rails.
I have the following Rails models: class Entry < ActiveRecord::Base has_and_belongs_to_many :tags, :uniq => true
I want to make a Jquery ajax request when a checkbox pressed either true or false. My form: <form method=\"get\" action=\"/\" accept-charset=\"UTF-8\"><div style=\"margin: 0pt; padding: 0pt