search for: lesson_plann

Displaying 3 results from an estimated 3 matches for "lesson_plann".

Did you mean: lesson_plan
2008 Mar 05
4
has_many_polymorphs is breaking my spec file
...olymorphs :labellables, :from => POLYMORPHIC_TABLENAMES, :through => :labellings, :dependent => :destroy Now, whenever i run the spec file, it bombs out as soon as it hits a reference to the Property class (at the start of my main describe block), saying "/home/jars/rails/lesson_planner/branches/max/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:249:in `load_missing_constant'': Expected /home/jars/rails/lesson_planner/branches/max/app/models/property.rb to define Property (LoadError)" If i play around with the labelling system...
2008 Feb 01
3
rspec crashes if any tests have failed - is this normal?
I just installed spec (plugin) and rspec_on_rails. It seems to work, but if any tests have failed, after doing the report it seems to crash, with this message - 5 examples, 2 failures rake aborted! Command ruby -I"/home/jars/rails/lesson_planner/branches/max/vendor/plugins/rspec/lib" "/home/jars/rails/lesson_planner/branches/max/vendor/plugins/rspec/bin/spec" "spec/models/instrument_name_spec.rb" --options "/home/jars/rails/lesson_planner/branches/max/spec/spec.opts" failed Is this normal? It''...
2008 Mar 13
3
Refreshing a page gives a "stack level too deep" error.
...;'Edit'', edit_asset_path(asset) %></td> 15: <td><%= link_to ''Destroy'', resource_asset_path(@resource, asset), :confirm => ''Are you sure?'', :method => :delete %></td> 16: </tr> RAILS_ROOT: /home/jars/rails/lesson_planner/branches/bundles Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:186:in `method_missing'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:194:in `method_missing...