Still not getting the error (although I do get an error for invalid indentation... are you sure you're using the latest revision? It should be 366 or somewhere thereabouts). Does it /not/ throw an error if you get rid of additional stuff? For instance, does this break?
!background_color = #5d3526 .foo :border= 1px !background_color solid - Nathan s.ross wrote: > Nathan-- > > Here's my test case: > > --- test.sass --- > !background_color = #5d3526 > !content_background = #1B1718 > > .foo > :border= 1px !background_color solid > > --- output --- > /* > NoMethodError: undefined method `!background_color' for > #<Sass::Constant::String:0x34606d8 @value="1px"> > > Backtrace: > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > constant/operation.rb:23:in `send' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > constant/operation.rb:23:in `perform' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > constant/operation.rb:14:in `to_s' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > constant.rb:44:in `parse' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > engine.rb:158:in `parse_attribute' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > engine.rb:138:in `parse_line' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > engine.rb:113:in `build_tree' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > engine.rb:121:in `build_tree' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > engine.rb:54:in `render' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > plugin.rb:53:in `update_stylesheets' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > plugin.rb:41:in `each' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/lib/sass/ > plugin.rb:41:in `update_stylesheets' > /Users/mymacbook/rails/ocilac/config/../vendor/plugins/haml/init.rb: > 7:in `load_plugin' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:400:in `load_plugin' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/activerecord/ > lib/../../activesupport/lib/active_support/core_ext/kernel/ > reporting.rb:11:in `silence_warnings' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:400:in `load_plugin' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:185:in `load_plugins' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:185:in `each' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:185:in `load_plugins' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:105:in `process' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:43:in `send' > /Users/mymacbook/rails/ocilac/config/../vendor/rails/railties/lib/ > initializer.rb:43:in `run' > /Users/mymacbook/rails/ocilac/config/environment.rb:13 > /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > rails.rb:161:in `rails' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: > 112:in `cloaker_' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:134:in `call' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:134:in `listener' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: > 98:in `cloaker_' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:51:in `call' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:51:in `initialize' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: > 85:in `new' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: > 85:in `run' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > command.rb:211:in `run' > /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 > /opt/local/bin/mongrel_rails:16:in `load' > /opt/local/bin/mongrel_rails:16 > */ > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
