Sorry, but I don't know the answer to this offhand, and installing everything needed to test against a Rails 1.x application would take more time than I have at the moment. Since you already have a Rails 1.x application, is there any reason you can't simply try multiple versions yourself until you find one that works? Rails 1.2.6 was released on November 23, 2007 (https://rubygems.org/gems/rails/versions) and Haml 1.8.0 was released on January 6, 2008 (https://rubygems.org/gems/haml/versions) so that would probably be the best place to start.
On Tue, Mar 12, 2013 at 12:05 PM, Edward Chen <[email protected]>wrote: > When was the last Haml version that supported these versions? I am combing > through the changelog but cannot find it. > > The reason for this is because the options for Haml(v3.1.4) don't work. > > Haml::Template.options[:format] = :html5 > Haml::Template.options[:ugly] = false > > fails in Rails 1.2.6/Ruby 1.8.7 => > > >> Haml::Template > NoMethodError: You have a nil object when you didn't expect it! > You might have expected an instance of Array. > The error occurred while evaluating nil.empty? > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/haml?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/haml?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
