Possible rails problem with edge rails revision 8804

1 view
Skip to first unread message

kevTheDev

unread,
Feb 6, 2008, 11:28:11 AM2/6/08
to Haml
Hi all,

I like to live on the edge, but recently had a problem - error message
below. After downgrading my edge version to 8481, everything was as
normal.

In case you're wondering, 8481 was the last version I had HAML working
A-OK.

Not sure if I should post this anywhere else but thought I should let
you guys know.

Cheers

KEv

Processing SessionsController#new (for 127.0.0.1 at 2008-02-06
15:33:45) [GET]
Session ID: b536d4c80683ebd9b7bdcc8f12a743d0
Parameters: {"action"=>"new", "controller"=>"sessions"}
Rendering sessions/new


ActionView::TemplateError (undefined method `read_template_file' for
#<Haml::Template:0x24e7864>) in sessions/new.html.haml:

vendor/rails/actionpack/lib/action_view/template_handlers/
compilable.rb:32:in `compile_template'
vendor/rails/actionpack/lib/action_view/base.rb:415:in
`compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:365:in
`render_template'
vendor/rails/actionpack/lib/action_view/base.rb:312:in
`render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1105:in
`render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:840:in
`render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:263:in
`render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
51:in `render'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
51:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1164:in
`perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:699:in
`call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:691:in
`perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
`perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:528:in
`send'
vendor/rails/actionpack/lib/action_controller/base.rb:528:in
`process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:687:in
`process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/
session_management.rb:123:in `sass_old_process'
/usr/local/lib/ruby/gems/1.8/gems/haml-1.8.1/lib/sass/plugin/
rails.rb:15:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in
`process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:164:in
`handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:105:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:102:in
`synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:102:in
`dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:118:in
`dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:11:in
`dispatch'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
rails.rb:78:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
rails.rb:76:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
rails.rb:76:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
618:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
617:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
617:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
736:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
736:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
736:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
736:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
720:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
720:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:
720:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:271:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:270:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:270:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
127:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
command.rb:211:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
243
vendor/rails/activesupport/lib/active_support/dependencies.rb:
489:in `load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
489:in `load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
342:in `new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
489:in `load'
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
496:in `require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
342:in `new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:
496:in `require'
vendor/rails/railties/lib/commands/server.rb:39
script/server:3:in `require'
script/server:3

Rendering /Users/kev/apps/personal/spoono/vendor/rails/actionpack/lib/
action_controller/templates/rescues/layout.erb (internal_server_error)
[4;36;1mSQL (0.000130) [0m [0;1mSET NAMES 'utf8' [0m
[4;35;1mSQL (0.000098) [0m [0mSET SQL_AUTO_IS_NULL=0 [0m
[4;36;1mSQL (0.000165) [0m [0;1mSELECT version FROM
schema_info [0m

Mislav Marohnić

unread,
Feb 6, 2008, 11:34:55 AM2/6/08
to ha...@googlegroups.com
Hey Kev,
This is known from the moment it happened and significant amount of work has gone into it. However it wasn't so trivial to fix while keeping backwards compatibility with older Rails versions.

Now, I have lost track of the progress. Is it fixed in edge Haml?

- Mislav

kevTheDev

unread,
Feb 6, 2008, 12:11:00 PM2/6/08
to Haml
Hmm,

I am a fool - I never even tried edge HAML.

Currently I have it working with Rails edge 8481, and the 1.8.1 gem
for HAML. I'll give it a go with edge HAML and latest edge rails if I
can find the time.

Cheers

Kev

On Feb 6, 4:34 pm, "Mislav Marohnić" <mislav.maroh...@gmail.com>
wrote:
> Hey Kev,
> This is known from the moment it happened and significant amount of work has
> gone into it. However it wasn't so trivial to fix while keeping backwards
> compatibility with older Rails versions.
>
> Now, I have lost track of the progress. Is it fixed in edge Haml?
>
> - Mislav
>
Reply all
Reply to author
Forward
0 new messages