search for: sample_form

Displaying 2 results from an estimated 2 matches for "sample_form".

Did you mean: sample_forms
2008 Oct 26
3
Undefined method f_title
...leForms < ActiveRecord::Migration def self.add_data SampleForm.create(:name => ''Default (Empty)'', :f_type => ''Default (Empty)'', :description => ''Use this template to create a blank form.'') end def self.up create_table :sample_forms do |t| t.string :name, :null => false t.string :f_title t.text :description t.timestamps end self.add_data end def self.down drop_table :sample_forms end end While migrating, it gives the error ''undefined method f_title=''. I first...
2009 Mar 26
0
assert2-0.4.6 provides assert_xhtml, an alternative to assert_select
...ings criteria'' } end end end === :verbose! => true === Sometimes when an assertion fails, you can''t tell why. To see each context the assertion considers, add :verbose! => true to the lowest element you know works, and run the tests: assert_xhtml SAMPLE_FORM do fieldset do li :verbose! => true do label ''First name'', :for => :user_first_name end end end The verbose option works as "spew", not as a diagnostic, and it reports each considered element''s contents. Be...