Displaying 1 result from an estimated 1 matches for "vbsfinder".
2010 Dec 25
1
Advanced search without database
...m, actually i did like Ryan Bates
teaches in this railscast :
http://railscasts.com/episodes/111-advanced-search-form
But my problem is that i dont want to save the searches in my database and i
dont know how to do this...
In the railscast, there was a comment like this:
*14. Karl <http://www.vbsfinder.com/> May 26, 2008 at 23:01 *
*For those who may not know, if you don''t want to save your searches in the
database, but would like all benefits of using an AR model (like
validations), you can use virtual attributes:*
*class Search < ActiveRecord::Base
attr_accessor :keywords, :c...