search for: pub_dat

Displaying 5 results from an estimated 5 matches for "pub_dat".

Did you mean: pub_date
2006 Feb 22
2
Using ez_where
Hi All, I am trying to pass values to ez_where to construct my conditions. I need to know how the params need to be formated for ez_where. My search class looks like this: def search @display_ad = DisplayAd.new(params[:display_ad]) cond = Caboose::EZ::Condition.new do pub_date == ''@display_ad.pub_date'' io_number =~ ''@display_ad.io_number'' end puts @display_ad.pub_date puts @display_ad.io_number puts cond.to_sql #display_ad = DisplayAd.find(:all, conditions => cond.to_sql ) #render :action =>...
2006 Aug 02
7
form_for not working with Markaby
...Markaby and I decided to write a little blog app. I''m running into issues with forms however. If I use form_for the output of the form gets swallowed. For example: form_for :article, @article do |f| f.text_field :title f.check_box :published f.text_area :description f.text_field :pub_date f.text_area :content end gets rendered as an empty form tag. The above code of course works fine in an rhtml file (with appropriate erb tags). Oddly form_tag works fine in Markaby: form_tag :action => ''create'' text_field ''article'', ''title'&...
2006 Nov 07
2
start a worker when bdrb starts
I am sure..again I am missing something, but I am trying to start a worker, when backgroundrb starts and it doesn''t seem to work. Here is my config/backgroundrb_schedules.yml file: feed_worker: class: feed_worker job_key: feed_worker_key worker_method: do_work trigger_args: repeat_interval: 20.minutes I even tried this from Rails controller: # def start_feed_worker #
2006 Aug 07
2
Call for examples
He folks- First off thanks to everyone for helping to make this plugin work better for all of us. Its nice to have a bunch of people testing and adding features. I would like to ask for people to post some examples workers. I would really like to get a few more workers to distribute with the plugin. Especially ones that a lot of people seem to need like Email workers. So if you are
2006 Jul 08
9
How to handle dynamically columned tables in rails
...accessing a web page) design a simple list with columns and add records. E.g., if the end user says I want a table that has a list of songs, he can create a list (title, date, artist, label) and then make another list of, e.g., books on his bookshelf with the necessary columns (title, author, pub_date, shelf). The end user shouldn''t have to do any database programming, schema designs, etc. Just select the columns and types (from a very limited list -- date, text, longtext). Of course in PHP I could just have the program create tables and keep another table of the lists that has e...