<?xml version="1.0" encoding="UTF-8"?>
<tickets type="array">
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2010-02-01T14:31:14-08:00</created-at>
    <creator-id type="integer">23115</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">32</number>
    <permalink>the-example-code-in-the-comments-are-invalid-for-error_messages_for</permalink>
    <priority type="integer">0</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag nil="true"></tag>
    <title>The example code in the comments are invalid for error_messages_for</title>
    <updated-at type="datetime">2010-02-01T14:31:19-08:00</updated-at>
    <user-id type="integer">23115</user-id>
    <user-name>Richard Grundy (RichGuk)</user-name>
    <creator-name>Richard Grundy (RichGuk)</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/32</url>
    <original-body>In the docblock here:

  # ==== Examples
  #   &lt;%= error_messages_for :person %&gt;
  #   &lt;%= error_messages_for :person {|errors| &quot;You can has probs nao: #{errors.size} of em!&quot;}
  #   &lt;%= error_messages_for :person, lambda{|error| &quot;&lt;li class='aieeee'&gt;#{error.join(' ')}&quot;} %&gt;
  #   &lt;%= error_messages_for :person, nil, 'bad_mojo' %&gt;

These two appear to be invalid?

  #   &lt;%= error_messages_for :person {|errors| &quot;You can has probs nao: #{errors.size} of em!&quot;}
  #   &lt;%= error_messages_for :person, lambda{|error| &quot;&lt;li class='aieeee'&gt;#{error.join(' ')}&quot;} %&gt;</original-body>
    <latest-body>In the docblock here:

  # ==== Examples
  #   &lt;%= error_messages_for :person %&gt;
  #   &lt;%= error_messages_for :person {|errors| &quot;You can has probs nao: #{errors.size} of em!&quot;}
  #   &lt;%= error_messages_for :person, lambda{|error| &quot;&lt;li class='aieeee'&gt;#{error.join(' ')}&quot;} %&gt;
  #   &lt;%= error_messages_for :person, nil, 'bad_mojo' %&gt;

These two appear to be invalid?

  #   &lt;%= error_messages_for :person {|errors| &quot;You can has probs nao: #{errors.size} of em!&quot;}
  #   &lt;%= error_messages_for :person, lambda{|error| &quot;&lt;li class='aieeee'&gt;#{error.join(' ')}&quot;} %&gt;</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;In the docblock here:&lt;/p&gt;
&lt;p&gt;# ==== Examples # &amp;lt;%= error_messages_for :person %&amp;gt; #
&amp;lt;%= error_messages_for :person {|errors| &quot;You can has probs nao:
#{errors.size} of em!&quot;} # &amp;lt;%= error_messages_for :person,
lambda{|error| &quot;&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;aieeee&quot;&gt;#{error.join(' ')}&quot;} %&amp;gt; # &amp;lt;%=
error_messages_for :person, nil, 'bad_mojo' %&amp;gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These two appear to be invalid?&lt;/p&gt;
&lt;p&gt;# &amp;lt;%= error_messages_for :person {|errors| &quot;You can has probs
nao: #{errors.size} of em!&quot;} # &amp;lt;%= error_messages_for :person,
lambda{|error| &quot;&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;aieeee&quot;&gt;#{error.join(' ')}&quot;} %&amp;gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">24207</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2009-01-12T10:07:48-08:00</created-at>
    <creator-id type="integer">7341</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">25</number>
    <permalink>form_for-in-part-generating-weird-html</permalink>
    <priority type="integer">1</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>invalid</state>
    <tag>form_for merb-helpers parts</tag>
    <title>form_for in part generating weird HTML</title>
    <updated-at type="datetime">2009-11-13T19:00:15-08:00</updated-at>
    <user-id type="integer">16008</user-id>
    <user-name>Martin Gamsjaeger (snusnu)</user-name>
    <creator-name>drogus (at gmail)</creator-name>
    <assigned-user-name>Pavel Kunc (merboutpost)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/25</url>
    <original-body>I've created a CommentsPart and wanted to add action new which basically just render form_for.

Here is new.html.erb from views/comments_part/new.html.erb:
@@@ ruby
&lt;%= form_for(@comment) do %&gt;
  &lt;%= text_area :body %&gt;
  &lt;%= submit &quot;Save&quot; %&gt;
&lt;% end =%&gt; 
@@@

Now, when I place this code in app/views/articles/show.html.erb:

@@@ ruby
&lt;%= part CommentsPart =&gt; :new %&gt;
@@@

I will got:
@@@ html
&lt;textarea name=&quot;article_comment[body]&quot; id=&quot;article_comment_body&quot;&gt;
&lt;/textarea&gt;
&lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
 
&lt;form method=&quot;post&quot; action=&quot;/article_comment&quot;&gt;
  &lt;textarea name=&quot;article_comment[body]&quot; id=&quot;article_comment_body&quot;&gt;&lt;/textarea&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt; 
@@@

It generates not only form but two duplicates of fields...

This code in view
@@@ ruby
&lt;%= form_for(@comment) do %&gt;
  &lt;%= text_area :body %&gt;
  &lt;%= submit &quot;Save&quot; %&gt;
&lt;% end =%&gt;
@@@

generates:

@@@ html
&lt;form method=&quot;post&quot; action=&quot;/nil_class&quot;&gt;
  &lt;textarea name=&quot;nil_class[body]&quot; id=&quot;nil_class_body&quot;&gt;&lt;/textarea&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt; 
@@@</original-body>
    <latest-body>I've created a CommentsPart and wanted to add action new which basically just render form_for.

Here is new.html.erb from views/comments_part/new.html.erb:
@@@ ruby
&lt;%= form_for(@comment) do %&gt;
  &lt;%= text_area :body %&gt;
  &lt;%= submit &quot;Save&quot; %&gt;
&lt;% end =%&gt; 
@@@

Now, when I place this code in app/views/articles/show.html.erb:

@@@ ruby
&lt;%= part CommentsPart =&gt; :new %&gt;
@@@

I will got:
@@@ html
&lt;textarea name=&quot;article_comment[body]&quot; id=&quot;article_comment_body&quot;&gt;
&lt;/textarea&gt;
&lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
 
&lt;form method=&quot;post&quot; action=&quot;/article_comment&quot;&gt;
  &lt;textarea name=&quot;article_comment[body]&quot; id=&quot;article_comment_body&quot;&gt;&lt;/textarea&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt; 
@@@

It generates not only form but two duplicates of fields...

This code in view
@@@ ruby
&lt;%= form_for(@comment) do %&gt;
  &lt;%= text_area :body %&gt;
  &lt;%= submit &quot;Save&quot; %&gt;
&lt;% end =%&gt;
@@@

generates:

@@@ html
&lt;form method=&quot;post&quot; action=&quot;/nil_class&quot;&gt;
  &lt;textarea name=&quot;nil_class[body]&quot; id=&quot;nil_class_body&quot;&gt;&lt;/textarea&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Save&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt; 
@@@</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;I've created a CommentsPart and wanted to add action new which
basically just render form_for.&lt;/p&gt;
&lt;p&gt;Here is new.html.erb from views/comments_part/new.html.erb:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;lt;%= form_for(@comment) do %&amp;gt;
  &amp;lt;%= text_area :body %&amp;gt;
  &amp;lt;%= submit &amp;quot;Save&amp;quot; %&amp;gt;
&amp;lt;% end =%&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now, when I place this code in
app/views/articles/show.html.erb:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;lt;%= part CommentsPart =&amp;gt; :new %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I will got:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;
&amp;lt;textarea name=&amp;quot;article_comment[body]&amp;quot; id=&amp;quot;article_comment_body&amp;quot;&amp;gt;
&amp;lt;/textarea&amp;gt;
&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Save&amp;quot; name=&amp;quot;submit&amp;quot;/&amp;gt;
 
&amp;lt;form method=&amp;quot;post&amp;quot; action=&amp;quot;/article_comment&amp;quot;&amp;gt;
  &amp;lt;textarea name=&amp;quot;article_comment[body]&amp;quot; id=&amp;quot;article_comment_body&amp;quot;&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Save&amp;quot; name=&amp;quot;submit&amp;quot;/&amp;gt;
&amp;lt;/form&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It generates not only form but two duplicates of fields...&lt;/p&gt;
&lt;p&gt;This code in view&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;lt;%= form_for(@comment) do %&amp;gt;
  &amp;lt;%= text_area :body %&amp;gt;
  &amp;lt;%= submit &amp;quot;Save&amp;quot; %&amp;gt;
&amp;lt;% end =%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;generates:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;
&amp;lt;form method=&amp;quot;post&amp;quot; action=&amp;quot;/nil_class&amp;quot;&amp;gt;
  &amp;lt;textarea name=&amp;quot;nil_class[body]&amp;quot; id=&amp;quot;nil_class_body&amp;quot;&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Save&amp;quot; name=&amp;quot;submit&amp;quot;/&amp;gt;
&amp;lt;/form&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-11-15T09:49:57-08:00</created-at>
    <creator-id type="integer">12929</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">9</number>
    <permalink>merb-more-has-merb_datamapper-as-a-dependency</permalink>
    <priority type="integer">39263</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>datamapper dependency gem merb-more merb_datamapper</tag>
    <title>merb-more has merb_datamapper as a dependency</title>
    <updated-at type="datetime">2009-09-27T19:25:47-07:00</updated-at>
    <user-id type="integer">16008</user-id>
    <user-name>Martin Gamsjaeger (snusnu)</user-name>
    <creator-name>Ted Han (knowtheory)</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/9</url>
    <original-body>As a consequence of the dependency installing merb-more will install merb_datamapper, and its dependencies dm-core, dm-migrations and merb-core (well, that one isn't a problem).

Anyway, this is a violation of merb's intended loose coupling.</original-body>
    <latest-body>As a consequence of the dependency installing merb-more will install merb_datamapper, and its dependencies dm-core, dm-migrations and merb-core (well, that one isn't a problem).

Anyway, this is a violation of merb's intended loose coupling.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;As a consequence of the dependency installing merb-more will
install merb_datamapper, and its dependencies dm-core,
dm-migrations and merb-core (well, that one isn't a problem).&lt;/p&gt;
&lt;p&gt;Anyway, this is a violation of merb's intended loose
coupling.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">16008</assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2009-09-10T23:42:07-07:00</created-at>
    <creator-id type="integer">34607</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">31</number>
    <permalink>auto_link-enhancement</permalink>
    <priority type="integer">1</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>patch</tag>
    <title>auto_link enhancement</title>
    <updated-at type="datetime">2009-09-27T17:06:44-07:00</updated-at>
    <user-id type="integer">16008</user-id>
    <user-name>Martin Gamsjaeger (snusnu)</user-name>
    <creator-name>Julien Langlois</creator-name>
    <assigned-user-name>Martin Gamsjaeger (snusnu)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/31</url>
    <original-body>The auto_link helper has two issues:

1) It loads assets from hard-coded paths, instead of reusing the other asset helpers
2) It does not separate loading CSS from JavaScript (it is prefered that CSS is loaded in the head of a document, while the JavaScript at the end of the body)</original-body>
    <latest-body>The auto_link helper has two issues:

1) It loads assets from hard-coded paths, instead of reusing the other asset helpers
2) It does not separate loading CSS from JavaScript (it is prefered that CSS is loaded in the head of a document, while the JavaScript at the end of the body)</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;The auto_link helper has two issues:&lt;/p&gt;
&lt;p&gt;1) It loads assets from hard-coded paths, instead of reusing the
other asset helpers&lt;br&gt;
2) It does not separate loading CSS from JavaScript (it is prefered
that CSS is loaded in the head of a document, while the JavaScript
at the end of the body)&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2009-08-05T08:39:49-07:00</created-at>
    <creator-id type="integer">63248</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">30</number>
    <permalink>merbsequelmysql-handshake-problem</permalink>
    <priority type="integer">0</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag nil="true"></tag>
    <title> Merb+Sequel+MySQL handshake problem</title>
    <updated-at type="datetime">2009-08-24T05:44:35-07:00</updated-at>
    <user-id type="integer">24207</user-id>
    <user-name>Pavel Kunc (merboutpost)</user-name>
    <creator-name>Cristian.Malinescu</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/30</url>
    <original-body>Hi,

I try to launch a Merb app where I replaced the default datamapper orm
with Sequel, however, I'm stuck at this error:
../gems/mysql-2.7/lib/mysql.so: warning: already initialized constant
MysqlError.

Cheers,
Cris 

This is a follow up as suggested,
http://groups.google.com/group/sequel-talk/browse_thread/thread/57c39428ad8074c2?hl=en

Environment:
Ubuntu 9, Ruby 1.8.7, Apache2 + Passenger(latest gem), Merb 1.0.12, Sequel(latest gem)</original-body>
    <latest-body>Hi,

I try to launch a Merb app where I replaced the default datamapper orm
with Sequel, however, I'm stuck at this error:
../gems/mysql-2.7/lib/mysql.so: warning: already initialized constant
MysqlError.

Cheers,
Cris 

This is a follow up as suggested,
http://groups.google.com/group/sequel-talk/browse_thread/thread/57c39428ad8074c2?hl=en

Environment:
Ubuntu 9, Ruby 1.8.7, Apache2 + Passenger(latest gem), Merb 1.0.12, Sequel(latest gem)</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I try to launch a Merb app where I replaced the default
datamapper orm with Sequel, however, I'm stuck at this error:
../gems/mysql-2.7/lib/mysql.so: warning: already initialized
constant MysqlError.&lt;/p&gt;
&lt;p&gt;Cheers, Cris&lt;/p&gt;
&lt;p&gt;This is a follow up as suggested, &lt;a href=&quot;http://groups.google.com/group/sequel-talk/browse_thread/thread/57c39428ad8074c2?hl=en&quot;&gt;
http://groups.google.com/group/s...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Environment: Ubuntu 9, Ruby 1.8.7, Apache2 + Passenger(latest
gem), Merb 1.0.12, Sequel(latest gem)&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2009-07-19T22:27:19-07:00</created-at>
    <creator-id type="integer">63248</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">29</number>
    <permalink>generated-routerrb-code-incomplete-resulting-in-throwing-exception-no-routes-match-the-request</permalink>
    <priority type="integer">0</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-gen merb-more</tag>
    <title>Generated router.rb code incomplete resulting in throwing *Exception: No routes match the request, /*</title>
    <updated-at type="datetime">2009-08-05T08:43:04-07:00</updated-at>
    <user-id type="integer">63248</user-id>
    <user-name>Cristian.Malinescu</user-name>
    <creator-name>Cristian.Malinescu</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/29</url>
    <original-body>Hello guys, 

These are the steps for reproducing the problem:
1. Use merb 1.0.12 
2. Generate one application with merb-gen
3. In the router.rb generated code I found couple of problems:
   a) The *.prepare do call is missing the request parameter, so the line should be completed manually like
      ...
      Merb::Router.prepare do |r|
      ...

   b) Accordingly, next lines of code need manual completion
      ...
      r.default_routes
      ...
      r.match('/').to(:controller =&gt; 'home', :action =&gt;'index')
      ...</original-body>
    <latest-body>Hello guys, 

These are the steps for reproducing the problem:
1. Use merb 1.0.12 
2. Generate one application with merb-gen
3. In the router.rb generated code I found couple of problems:
   a) The *.prepare do call is missing the request parameter, so the line should be completed manually like
      ...
      Merb::Router.prepare do |r|
      ...

   b) Accordingly, next lines of code need manual completion
      ...
      r.default_routes
      ...
      r.match('/').to(:controller =&gt; 'home', :action =&gt;'index')
      ...</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Hello guys,&lt;/p&gt;
&lt;p&gt;These are the steps for reproducing the problem: 1. Use merb
1.0.12 2. Generate one application with merb-gen 3. In the
router.rb generated code I found couple of problems: a) The
*.prepare do call is missing the request parameter, so the line
should be completed manually like&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;  ...
  Merb::Router.prepare do |r|
  ...
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;b) Accordingly, next lines of code need manual completion&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;  ...
  r.default_routes
  ...
  r.match('/').to(:controller =&amp;gt; 'home', :action =&amp;gt;'index')
  ...
&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2009-05-12T15:08:31-07:00</created-at>
    <creator-id type="integer">50766</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">28</number>
    <permalink>abstractassetbundler-might-not-be-thread-safe</permalink>
    <priority type="integer">106355</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag nil="true"></tag>
    <title>AbstractAssetBundler might not be thread safe?</title>
    <updated-at type="datetime">2009-05-12T15:08:34-07:00</updated-at>
    <user-id type="integer">50766</user-id>
    <user-name>Matt Margolis</user-name>
    <creator-name>Matt Margolis</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/28</url>
    <original-body>This ticket concerns merb-assets bundle functionality.  I am working with 1.0.11

When bundling CSS/JS I am finding that under situations with concurrency I end up with inconsistent output from the bundlers.  I believe that the locking during file generation is to blame. 

I believe the issue is File#flock.  File#flock is used two times in merb-assets/lib/merb-assets/assets.rb

These threads seems to imply that flock is not thread safe.  

http://groups.google.com/group/ruby-talk-google/browse_thread/thread/1b4036697222e8e1 

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/16818</original-body>
    <latest-body>This ticket concerns merb-assets bundle functionality.  I am working with 1.0.11

When bundling CSS/JS I am finding that under situations with concurrency I end up with inconsistent output from the bundlers.  I believe that the locking during file generation is to blame. 

I believe the issue is File#flock.  File#flock is used two times in merb-assets/lib/merb-assets/assets.rb

These threads seems to imply that flock is not thread safe.  

http://groups.google.com/group/ruby-talk-google/browse_thread/thread/1b4036697222e8e1 

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/16818</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;This ticket concerns merb-assets bundle functionality. I am
working with 1.0.11&lt;/p&gt;
&lt;p&gt;When bundling CSS/JS I am finding that under situations with
concurrency I end up with inconsistent output from the bundlers. I
believe that the locking during file generation is to blame.&lt;/p&gt;
&lt;p&gt;I believe the issue is File#flock. File#flock is used two times
in merb-assets/lib/merb-assets/assets.rb&lt;/p&gt;
&lt;p&gt;These threads seems to imply that flock is not thread
safe.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://groups.google.com/group/ruby-talk-google/browse_thread/thread/1b4036697222e8e1&quot;&gt;
http://groups.google.com/group/r...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/16818&quot;&gt;
http://blade.nagaokaut.ac.jp/cgi...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">21441</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2009-01-25T14:28:31-08:00</created-at>
    <creator-id type="integer">6252</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">26</number>
    <permalink>new-_call_action-forces-default-repo</permalink>
    <priority type="integer">19625</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>datamapper merb_datamapper</tag>
    <title>new _call_action forces :default repo</title>
    <updated-at type="datetime">2009-03-23T07:18:19-07:00</updated-at>
    <user-id type="integer">21441</user-id>
    <user-name>Jonathan Stott (namelessjon)</user-name>
    <creator-name> geemus (Wesley Beary)</creator-name>
    <assigned-user-name>Jonathan Stott (namelessjon)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/26</url>
    <original-body>The new wrapping of _call_action with a repository block to provide identity_map forces the usage of default repository on contained calls.

The general expectation would be that methods called without a context on a model that has self.default_repository_name set should call the method in the specified repository.  This new block wrapper overrides this and calls everything in the default block.

As such it would be good to be able to specify which repository to wrap each controller and/or action with.  Or at least be able to opt-out of this functionality at the application level.

Thanks for putting up with my weird edge cases,
wes</original-body>
    <latest-body>The new wrapping of _call_action with a repository block to provide identity_map forces the usage of default repository on contained calls.

The general expectation would be that methods called without a context on a model that has self.default_repository_name set should call the method in the specified repository.  This new block wrapper overrides this and calls everything in the default block.

As such it would be good to be able to specify which repository to wrap each controller and/or action with.  Or at least be able to opt-out of this functionality at the application level.

Thanks for putting up with my weird edge cases,
wes</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;The new wrapping of _call_action with a repository block to
provide identity_map forces the usage of default repository on
contained calls.&lt;/p&gt;
&lt;p&gt;The general expectation would be that methods called without a
context on a model that has self.default_repository_name set should
call the method in the specified repository. This new block wrapper
overrides this and calls everything in the default block.&lt;/p&gt;
&lt;p&gt;As such it would be good to be able to specify which repository
to wrap each controller and/or action with. Or at least be able to
opt-out of this functionality at the application level.&lt;/p&gt;
&lt;p&gt;Thanks for putting up with my weird edge cases, wes&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">2719</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2009-03-09T21:32:13-07:00</created-at>
    <creator-id type="integer">13984</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">27</number>
    <permalink>slated_user-mixin-encrypt_password-method</permalink>
    <priority type="integer">90361</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-auth</tag>
    <title>slated_user mixin encrypt_password method</title>
    <updated-at type="datetime">2009-03-09T21:45:28-07:00</updated-at>
    <user-id type="integer">467</user-id>
    <user-name>Daniel Neighman</user-name>
    <creator-name>Nicholas Orr</creator-name>
    <assigned-user-name>Daniel Neighman (hassox)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/27</url>
    <original-body>change

@@@ ruby
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&quot;) if new_record?
  self.crypted_password = encrypt(password)
end
@@@

to

@@@ ruby
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&quot;) if self.salt.nil?
  self.crypted_password = encrypt(password)
end
@@@

This way it works all the time. The issue with using new_record? is it might not be a new record and lack salt. The whole point of that line as I see it is to create salt only if salt doesn't exist - so why not test for the lack of salt :)</original-body>
    <latest-body>change

@@@ ruby
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&quot;) if new_record?
  self.crypted_password = encrypt(password)
end
@@@

to

@@@ ruby
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&quot;) if self.salt.nil?
  self.crypted_password = encrypt(password)
end
@@@

This way it works all the time. The issue with using new_record? is it might not be a new record and lack salt. The whole point of that line as I see it is to create salt only if salt doesn't exist - so why not test for the lack of salt :)</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;change&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&amp;quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&amp;quot;) if new_record?
  self.crypted_password = encrypt(password)
end
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
def encrypt_password
  return if password.blank?
  self.salt = Digest::SHA1.hexdigest(&amp;quot;--#{Time.now.to_s}--#{Merb::Authentication::Strategies::Basic::Base.login_param}--&amp;quot;) if self.salt.nil?
  self.crypted_password = encrypt(password)
end
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This way it works all the time. The issue with using new_record?
is it might not be a new record and lack salt. The whole point of
that line as I see it is to create salt only if salt doesn't exist
- so why not test for the lack of salt :)&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-26T20:43:01-08:00</created-at>
    <creator-id type="integer">13309</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">16</number>
    <permalink>selectradio_button-helpers-dont-bind-correctly</permalink>
    <priority type="integer">41367</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>form radio_button radio_group</tag>
    <title>select/radio_button helpers don't bind correctly</title>
    <updated-at type="datetime">2009-01-23T14:34:33-08:00</updated-at>
    <user-id type="integer">15000</user-id>
    <user-name>Lang Riley</user-name>
    <creator-name>Luke Sutton</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/16</url>
    <original-body>When using form_for, the bound versions of #select and #radio_button helpers don't select the correct value based on the relevant model property. Instead I have explicitly pass in the selected value.</original-body>
    <latest-body>When using form_for, the bound versions of #select and #radio_button helpers don't select the correct value based on the relevant model property. Instead I have explicitly pass in the selected value.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;When using form_for, the bound versions of #select and
#radio_button helpers don't select the correct value based on the
relevant model property. Instead I have explicitly pass in the
selected value.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2009-01-04T13:27:36-08:00</created-at>
    <creator-id type="integer">5026</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">24</number>
    <permalink>autotest-support-for-specrequests</permalink>
    <priority type="integer">58118</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>1.0 merb-more patch</tag>
    <title>Autotest Support for spec/requests</title>
    <updated-at type="datetime">2009-01-04T13:27:38-08:00</updated-at>
    <user-id type="integer">5026</user-id>
    <user-name>James Herdman</user-name>
    <creator-name>James Herdman</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/24</url>
    <original-body>It seems like merb-gen is putting controller specs in specs/requests these days.  This patch adds Autotest support for this directory.</original-body>
    <latest-body>It seems like merb-gen is putting controller specs in specs/requests these days.  This patch adds Autotest support for this directory.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;It seems like merb-gen is putting controller specs in
specs/requests these days. This patch adds Autotest support for
this directory.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-31T14:42:51-08:00</created-at>
    <creator-id type="integer">18818</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">23</number>
    <permalink>generated-autotestmerb_rspecrb-file-is-broken</permalink>
    <priority type="integer">52530</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>generator merb-gen patch</tag>
    <title>Generated autotest/merb_rspec.rb file is broken</title>
    <updated-at type="datetime">2008-12-31T14:42:53-08:00</updated-at>
    <user-id type="integer">18818</user-id>
    <user-name>Stephen Eley</user-name>
    <creator-name>Stephen Eley</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/23</url>
    <original-body>The generated class **Autotest::MerbRspec** inherits poorly from its parent **Autotest** class, overriding several methods (but not their calling methods) and attempting to set instance variables via accessors which are declared in the superclass.  This breaks Ruby's inheritance rules, and the result is that **all_good** is never true.  Basic looping behavior seems to work anyway, but the **get_to_green** method never finishes.

I'm too much of a newbie to write a proper spec to prove that a loop in Autotest fails to terminate.  (Not to mention I spent all afternoon chasing this bug down and it burned me out.)  I detected this issue because I'm running Cucumber with David Leal's [merb-cucumber](http://github.com/david/merb_cucumber/tree/master) plug-in, which inherits from **Autotest::MerbRspec**, and it wasn't displaying the right behavior when it called _super_ in its own **get_to_green**.

I know this is discouraged in your contributor guidelines, but I'm attaching a patch (actually a rewritten **merb_rspec.rb** file) in spite of not having a spec.  The simplest solution is to inherit from **Autotest::Rspec** instead of **Autotest** and not override any methods except for initialization.  I'm not sure why they were overridden anyway, since they seemed to do the same thing and have no dramatic efficiency improvements.  This new autotest file is a lot simpler and makes better use of the inherited behavior.</original-body>
    <latest-body>The generated class **Autotest::MerbRspec** inherits poorly from its parent **Autotest** class, overriding several methods (but not their calling methods) and attempting to set instance variables via accessors which are declared in the superclass.  This breaks Ruby's inheritance rules, and the result is that **all_good** is never true.  Basic looping behavior seems to work anyway, but the **get_to_green** method never finishes.

I'm too much of a newbie to write a proper spec to prove that a loop in Autotest fails to terminate.  (Not to mention I spent all afternoon chasing this bug down and it burned me out.)  I detected this issue because I'm running Cucumber with David Leal's [merb-cucumber](http://github.com/david/merb_cucumber/tree/master) plug-in, which inherits from **Autotest::MerbRspec**, and it wasn't displaying the right behavior when it called _super_ in its own **get_to_green**.

I know this is discouraged in your contributor guidelines, but I'm attaching a patch (actually a rewritten **merb_rspec.rb** file) in spite of not having a spec.  The simplest solution is to inherit from **Autotest::Rspec** instead of **Autotest** and not override any methods except for initialization.  I'm not sure why they were overridden anyway, since they seemed to do the same thing and have no dramatic efficiency improvements.  This new autotest file is a lot simpler and makes better use of the inherited behavior.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;The generated class &lt;strong&gt;Autotest::MerbRspec&lt;/strong&gt;
inherits poorly from its parent &lt;strong&gt;Autotest&lt;/strong&gt; class,
overriding several methods (but not their calling methods) and
attempting to set instance variables via accessors which are
declared in the superclass. This breaks Ruby's inheritance rules,
and the result is that &lt;strong&gt;all_good&lt;/strong&gt; is never true.
Basic looping behavior seems to work anyway, but the
&lt;strong&gt;get_to_green&lt;/strong&gt; method never finishes.&lt;/p&gt;
&lt;p&gt;I'm too much of a newbie to write a proper spec to prove that a
loop in Autotest fails to terminate. (Not to mention I spent all
afternoon chasing this bug down and it burned me out.) I detected
this issue because I'm running Cucumber with David Leal's &lt;a href=&quot;http://github.com/david/merb_cucumber/tree/master&quot;&gt;merb-cucumber&lt;/a&gt;
plug-in, which inherits from &lt;strong&gt;Autotest::MerbRspec&lt;/strong&gt;,
and it wasn't displaying the right behavior when it called
&lt;em&gt;super&lt;/em&gt; in its own &lt;strong&gt;get_to_green&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I know this is discouraged in your contributor guidelines, but
I'm attaching a patch (actually a rewritten
&lt;strong&gt;merb_rspec.rb&lt;/strong&gt; file) in spite of not having a spec.
The simplest solution is to inherit from
&lt;strong&gt;Autotest::Rspec&lt;/strong&gt; instead of
&lt;strong&gt;Autotest&lt;/strong&gt; and not override any methods except for
initialization. I'm not sure why they were overridden anyway, since
they seemed to do the same thing and have no dramatic efficiency
improvements. This new autotest file is a lot simpler and makes
better use of the inherited behavior.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-30T20:46:46-08:00</created-at>
    <creator-id type="integer">14031</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">22</number>
    <permalink>escape_xml-in-formbuilderoptions-breaks-selected-matching-for-integers</permalink>
    <priority type="integer">50309</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-helpers</tag>
    <title>escape_xml in Form::Builder.options breaks :selected matching for integers</title>
    <updated-at type="datetime">2008-12-30T20:48:15-08:00</updated-at>
    <user-id type="integer">14031</user-id>
    <user-name>bentlegen</user-name>
    <creator-name>bentlegen</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/22</url>
    <original-body>The escape_xml call in merb-helpers/form/builder.rb L251 (http://github.com/wycats/merb/tree/active/merb-helpers/lib/merb-helpers/form/builder.rb#L251) forces each :collection element value to a string. This takes place before the :collection is matched against the :selected param, which could still be an integer. The result is that the following call:

options(
  [1,2,3,4,5].map{|i| [i]}, # collection
  nil,         # text_method
  nil,         # value_method
  3            # selected
)

Doesn't match the value 3. You need to do the following:

options(
  [1,2,3,4,5].map{|i| [i]},
  nil,
  nil,
  &quot;3&quot;
)

I think this behaviour was introduced here:

http://github.com/wycats/merb/commit/168ac57eeecc1f416179594e0f92a5ce7c62a098#L2L247</original-body>
    <latest-body>The escape_xml call in merb-helpers/form/builder.rb L251 (http://github.com/wycats/merb/tree/active/merb-helpers/lib/merb-helpers/form/builder.rb#L251) forces each :collection element value to a string. This takes place before the :collection is matched against the :selected param, which could still be an integer. The result is that the following call:

options(
  [1,2,3,4,5].map{|i| [i]}, # collection
  nil,         # text_method
  nil,         # value_method
  3            # selected
)

Doesn't match the value 3. You need to do the following:

options(
  [1,2,3,4,5].map{|i| [i]},
  nil,
  nil,
  &quot;3&quot;
)

I think this behaviour was introduced here:

http://github.com/wycats/merb/commit/168ac57eeecc1f416179594e0f92a5ce7c62a098#L2L247</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;The escape_xml call in merb-helpers/form/builder.rb L251
(&lt;a href=&quot;http://github.com/wycats/merb/tree/active/merb-helpers/lib/merb-helpers/form/builder.rb#L251&quot;&gt;http://github.com/wycats/merb/tr...&lt;/a&gt;)
forces each :collection element value to a string. This takes place
before the :collection is matched against the :selected param,
which could still be an integer. The result is that the following
call:&lt;/p&gt;
&lt;p&gt;options( [1,2,3,4,5].map{|i| [i]}, # collection nil, #
text_method nil, # value_method 3 # selected )&lt;/p&gt;
&lt;p&gt;Doesn't match the value 3. You need to do the following:&lt;/p&gt;
&lt;p&gt;options( [1,2,3,4,5].map{|i| [i]}, nil, nil, &quot;3&quot; )&lt;/p&gt;
&lt;p&gt;I think this behaviour was introduced here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/wycats/merb/commit/168ac57eeecc1f416179594e0f92a5ce7c62a098#L2L247&quot;&gt;
http://github.com/wycats/merb/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-28T16:46:22-08:00</created-at>
    <creator-id type="integer">13984</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">21</number>
    <permalink>transformer-typo-on-the-au-unit</permalink>
    <priority type="integer">46197</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-helpers</tag>
    <title>Transformer: Typo on the AU unit</title>
    <updated-at type="datetime">2008-12-28T22:53:31-08:00</updated-at>
    <user-id type="integer">13984</user-id>
    <user-name>Nicholas Orr</user-name>
    <creator-name>Nicholas Orr</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/21</url>
    <original-body>Nice and simple.

Line 39 of merb-helpers/core_ext/numeric.rb

needs to be changed from

@@@ruby
:unit =&gt; '$;',
@@@

to

@@@ruby
:unit =&gt; '$',
@@@

:)</original-body>
    <latest-body>Nice and simple.

Line 39 of merb-helpers/core_ext/numeric.rb

needs to be changed from

@@@ruby
:unit =&gt; '$;',
@@@

to

@@@ruby
:unit =&gt; '$',
@@@

:)</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Nice and simple.&lt;/p&gt;
&lt;p&gt;Line 39 of merb-helpers/core_ext/numeric.rb&lt;/p&gt;
&lt;p&gt;needs to be changed from&lt;/p&gt;
&lt;p&gt;@@@ruby :unit =&amp;gt; '$;',&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;

to

@@@ruby
:unit =&amp;gt; '$',
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;:)&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-12-21T09:01:36-08:00</created-at>
    <creator-id type="integer">13312</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">20</number>
    <permalink>radio-button-helper-checked</permalink>
    <priority type="integer">45403</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>invalid</state>
    <tag>merb-helpers</tag>
    <title>radio button helper :checked</title>
    <updated-at type="datetime">2008-12-22T16:19:58-08:00</updated-at>
    <user-id type="integer">10354</user-id>
    <user-name>Michael Klishin (antares)</user-name>
    <creator-name>Jon Hancock</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/20</url>
    <original-body>The :checked hash param of radio_button helper needs to check if :checked is true.  If it is anything but true, the attribute should not be merged into the html attribs as radio buttons are goofy in html in that if the checked param has _any_ value it will be on.

It seems this check needs to go in builder.rb bound_radio_button</original-body>
    <latest-body>The :checked hash param of radio_button helper needs to check if :checked is true.  If it is anything but true, the attribute should not be merged into the html attribs as radio buttons are goofy in html in that if the checked param has _any_ value it will be on.

It seems this check needs to go in builder.rb bound_radio_button</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;The :checked hash param of radio_button helper needs to check if
:checked is true. If it is anything but true, the attribute should
not be merged into the html attribs as radio buttons are goofy in
html in that if the checked param has &lt;em&gt;any&lt;/em&gt; value it will be
on.&lt;/p&gt;
&lt;p&gt;It seems this check needs to go in builder.rb
bound_radio_button&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">2</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-20T23:41:49-08:00</created-at>
    <creator-id type="integer">13265</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">19</number>
    <permalink>patch-for-merb-helpers-separate-error-messages-for-the-same-field</permalink>
    <priority type="integer">45358</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag nil="true"></tag>
    <title>[Patch] For merb-helpers, separate error messages for the same field</title>
    <updated-at type="datetime">2008-12-21T00:10:45-08:00</updated-at>
    <user-id type="integer">13265</user-id>
    <user-name>Emmanuel Surleau (Mercurial Alchemist)</user-name>
    <creator-name>Emmanuel Surleau (Mercurial Alchemist)</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/19</url>
    <original-body>Currently, error messages (created with error_messages_for) are formatted in a list, with one li tag for each field. However, for AR-like models, errors for the same fields are joined with a space. This gives such interesting error messages as: 

Name must not be blank Name must be between 1 and 255 characters long

The attached patch (for 1.0.x) corrects this behaviour, by creating an li item for each error. You will also find a failing spec attached.</original-body>
    <latest-body>Currently, error messages (created with error_messages_for) are formatted in a list, with one li tag for each field. However, for AR-like models, errors for the same fields are joined with a space. This gives such interesting error messages as: 

Name must not be blank Name must be between 1 and 255 characters long

The attached patch (for 1.0.x) corrects this behaviour, by creating an li item for each error. You will also find a failing spec attached.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Currently, error messages (created with error_messages_for) are
formatted in a list, with one li tag for each field. However, for
AR-like models, errors for the same fields are joined with a space.
This gives such interesting error messages as:&lt;/p&gt;
&lt;p&gt;Name must not be blank Name must be between 1 and 255 characters
long&lt;/p&gt;
&lt;p&gt;The attached patch (for 1.0.x) corrects this behaviour, by
creating an li item for each error. You will also find a failing
spec attached.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-18T02:50:12-08:00</created-at>
    <creator-id type="integer">13091</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">18</number>
    <permalink>merb-cache-fails-on-second-attempt-to-register-a-store</permalink>
    <priority type="integer">44935</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-cache merb_activerecord</tag>
    <title>merb-cache fails on second attempt to register a store</title>
    <updated-at type="datetime">2008-12-20T15:43:09-08:00</updated-at>
    <user-id type="integer">13091</user-id>
    <user-name>Vince Nibler</user-name>
    <creator-name>Vince Nibler</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/18</url>
    <original-body>ActiveRecord migrations fail if merb-cache is defined for your environment.

- the merb app Rakefile loads the merb environment. Line 24:

  Merb.start_environment(:environment =&gt; init_env, :adapter =&gt; 'runner')

- the merb activerecord migration task attempts to load the environment again. In lib/active_record/merbtasks.rb line 3:

  task :merb_start do
    Merb.start :adapter =&gt; 'runner', :environment =&gt; ENV['MERB_ENV'] || 'development', :log_file =&gt; Merb::Config[:log_file]
  end

- merb-cache fails:

file_store store already setup

- the migrations are not run.</original-body>
    <latest-body>ActiveRecord migrations fail if merb-cache is defined for your environment.

- the merb app Rakefile loads the merb environment. Line 24:

  Merb.start_environment(:environment =&gt; init_env, :adapter =&gt; 'runner')

- the merb activerecord migration task attempts to load the environment again. In lib/active_record/merbtasks.rb line 3:

  task :merb_start do
    Merb.start :adapter =&gt; 'runner', :environment =&gt; ENV['MERB_ENV'] || 'development', :log_file =&gt; Merb::Config[:log_file]
  end

- merb-cache fails:

file_store store already setup

- the migrations are not run.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;ActiveRecord migrations fail if merb-cache is defined for your
environment.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the merb app Rakefile loads the merb environment. Line 24:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Merb.start_environment(:environment =&amp;gt; init_env, :adapter
=&amp;gt; 'runner')&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the merb activerecord migration task attempts to load the
environment again. In lib/active_record/merbtasks.rb line 3:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;task :merb_start do&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;Merb.start :adapter =&amp;gt; 'runner', :environment =&amp;gt; ENV['MERB_ENV'] || 'development', :log_file =&amp;gt; Merb::Config[:log_file]
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;merb-cache fails:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;file_store store already setup&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the migrations are not run.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-12-09T01:48:02-08:00</created-at>
    <creator-id type="integer">9151</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">17</number>
    <permalink>merb-mailer-doesnt-supply-useful-helpers-in-the-merbmailcontroller</permalink>
    <priority type="integer">43172</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-mailer</tag>
    <title>merb-mailer doesn't supply useful helpers in the Merb::MailController</title>
    <updated-at type="datetime">2008-12-09T01:48:06-08:00</updated-at>
    <user-id type="integer">9151</user-id>
    <user-name>Dirkjan Bussink</user-name>
    <creator-name>Dirkjan Bussink</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/17</url>
    <original-body>When generating HTML emails, it would be useful to have some of the helpers available that are available in regular controllers, such as h(). I want to prevent xss attacks in my emails :).</original-body>
    <latest-body>When generating HTML emails, it would be useful to have some of the helpers available that are available in regular controllers, such as h(). I want to prevent xss attacks in my emails :).</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;When generating HTML emails, it would be useful to have some of
the helpers available that are available in regular controllers,
such as h(). I want to prevent xss attacks in my emails :).&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-14T20:42:22-08:00</created-at>
    <creator-id type="integer">25393</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">8</number>
    <permalink>merb-gen-resource-p-changes-configrouterrb</permalink>
    <priority type="integer">39239</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>1.0 generator merb-gen noncritical patch resource</tag>
    <title>&quot;merb-gen resource -p&quot; changes config/router.rb</title>
    <updated-at type="datetime">2008-12-02T23:27:31-08:00</updated-at>
    <user-id type="integer">10280</user-id>
    <user-name>Carl Porth</user-name>
    <creator-name>Dale Campbell</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/8</url>
    <original-body>When using &quot;merb-gen resource -p&quot; the generator changes the config/router.rb file, adding a &quot;resources :model_name&quot; line.  No other files are edited/created.

---

$ merb-gen resource -p article
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Generating with resource generator (just pretending):
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
     [ADDED]  spec/models/article_spec.rb
     [ADDED]  app/models/article.rb
     [ADDED]  spec/requests/articles_spec.rb
     [ADDED]  app/controllers/articles.rb
     [ADDED]  app/views/articles/index.html.erb
     [ADDED]  app/views/articles/show.html.erb
     [ADDED]  app/views/articles/edit.html.erb
     [ADDED]  app/views/articles/new.html.erb
     [ADDED]  app/helpers/articles_helper.rb
resources :articles route added to config/router.rb</original-body>
    <latest-body>When using &quot;merb-gen resource -p&quot; the generator changes the config/router.rb file, adding a &quot;resources :model_name&quot; line.  No other files are edited/created.

---

$ merb-gen resource -p article
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Generating with resource generator (just pretending):
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
Loading init file from /path/to/some_app/config/init.rb
Loading /path/to/some_app/config/environments/development.rb
     [ADDED]  spec/models/article_spec.rb
     [ADDED]  app/models/article.rb
     [ADDED]  spec/requests/articles_spec.rb
     [ADDED]  app/controllers/articles.rb
     [ADDED]  app/views/articles/index.html.erb
     [ADDED]  app/views/articles/show.html.erb
     [ADDED]  app/views/articles/edit.html.erb
     [ADDED]  app/views/articles/new.html.erb
     [ADDED]  app/helpers/articles_helper.rb
resources :articles route added to config/router.rb</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;When using &quot;merb-gen resource -p&quot; the generator changes the
config/router.rb file, adding a &quot;resources :model_name&quot; line. No
other files are edited/created.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;$ merb-gen resource -p article Loading init file from
/path/to/some_app/config/init.rb Loading
/path/to/some_app/config/environments/development.rb Generating
with resource generator (just pretending): Loading init file from
/path/to/some_app/config/init.rb Loading
/path/to/some_app/config/environments/development.rb Loading init
file from /path/to/some_app/config/init.rb Loading
/path/to/some_app/config/environments/development.rb Loading init
file from /path/to/some_app/config/init.rb Loading
/path/to/some_app/config/environments/development.rb&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt; [ADDED]  spec/models/article_spec.rb
 [ADDED]  app/models/article.rb
 [ADDED]  spec/requests/articles_spec.rb
 [ADDED]  app/controllers/articles.rb
 [ADDED]  app/views/articles/index.html.erb
 [ADDED]  app/views/articles/show.html.erb
 [ADDED]  app/views/articles/edit.html.erb
 [ADDED]  app/views/articles/new.html.erb
 [ADDED]  app/helpers/articles_helper.rb
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;resources :articles route added to config/router.rb&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">14694</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-11-25T12:44:43-08:00</created-at>
    <creator-id type="integer">14981</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">15</number>
    <permalink>questions-about-merb-slices</permalink>
    <priority type="integer">42462</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>hold</state>
    <tag>merb-slices</tag>
    <title>Questions about merb-slices</title>
    <updated-at type="datetime">2008-11-25T13:06:14-08:00</updated-at>
    <user-id type="integer">14694</user-id>
    <user-name>Fabien Franzen (loob2)</user-name>
    <creator-name>Tim Carey-Smith</creator-name>
    <assigned-user-name>Fabien Franzen (loob2)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/15</url>
    <original-body>I am building a slice which doesn't have any routes. 
It just provides shared models for other applications. 

I was confused about the usage of the #init and #activate methods. 
The #activate method is only run if the slice is routed. 

Perhaps there needs to be a better description of what these methods do and when they are run. 

Would it be better to have a more explicit way of activating slices external to the router?
That way I could say Merb::Slices.enable(:my_slice_with_models). 

What is the idea behind the Merb::Plugins.config[:merb_slices][:search_path] configuration?
In the generated spec_helper.rb, it uses the path to the library file. 

http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fgenerators%2Ftemplates%2Ffull%2Fspec%2Fspec_helper.rb#L8</original-body>
    <latest-body>I am building a slice which doesn't have any routes. 
It just provides shared models for other applications. 

I was confused about the usage of the #init and #activate methods. 
The #activate method is only run if the slice is routed. 

Perhaps there needs to be a better description of what these methods do and when they are run. 

Would it be better to have a more explicit way of activating slices external to the router?
That way I could say Merb::Slices.enable(:my_slice_with_models). 

What is the idea behind the Merb::Plugins.config[:merb_slices][:search_path] configuration?
In the generated spec_helper.rb, it uses the path to the library file. 

http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fgenerators%2Ftemplates%2Ffull%2Fspec%2Fspec_helper.rb#L8</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;I am building a slice which doesn't have any routes. It just
provides shared models for other applications.&lt;/p&gt;
&lt;p&gt;I was confused about the usage of the #init and #activate
methods. The #activate method is only run if the slice is
routed.&lt;/p&gt;
&lt;p&gt;Perhaps there needs to be a better description of what these
methods do and when they are run.&lt;/p&gt;
&lt;p&gt;Would it be better to have a more explicit way of activating
slices external to the router? That way I could say
Merb::Slices.enable(:my_slice_with_models).&lt;/p&gt;
&lt;p&gt;What is the idea behind the
Merb::Plugins.config[:merb_slices][:search_path] configuration? In
the generated spec_helper.rb, it uses the path to the library
file.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fgenerators%2Ftemplates%2Ffull%2Fspec%2Fspec_helper.rb#L8&quot;&gt;
http://github.com/wycats/merb/tr...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">14694</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-25T11:54:25-08:00</created-at>
    <creator-id type="integer">14981</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">14</number>
    <permalink>scary-rescue-in-merb-slices</permalink>
    <priority type="integer">42461</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-slices</tag>
    <title>Scary rescue in merb-slices</title>
    <updated-at type="datetime">2008-11-25T11:54:53-08:00</updated-at>
    <user-id type="integer">14981</user-id>
    <user-name>Tim Carey-Smith</user-name>
    <creator-name>Tim Carey-Smith</creator-name>
    <assigned-user-name>Fabien Franzen (loob2)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/14</url>
    <original-body>If I have an error in my init or activate, I would like to know about it. 

http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fmerb-slices%2Fmodule.rb#L123</original-body>
    <latest-body>If I have an error in my init or activate, I would like to know about it. 

http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fmerb-slices%2Fmodule.rb#L123</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;If I have an error in my init or activate, I would like to know
about it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/wycats/merb/tree/master/merb-slices%2Flib%2Fmerb-slices%2Fmodule.rb#L123&quot;&gt;
http://github.com/wycats/merb/tr...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">2719</assigned-user-id>
    <attachments-count type="integer">2</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-10-31T02:20:28-07:00</created-at>
    <creator-id type="integer">23115</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">2</number>
    <permalink>improvements-to-merb-auths-openid-strategy</permalink>
    <priority type="integer">35011</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>merb-auth openid</tag>
    <title>Improvements to merb-auth's OpenID strategy </title>
    <updated-at type="datetime">2008-11-21T16:03:58-08:00</updated-at>
    <user-id type="integer">2719</user-id>
    <user-name>Daniel Neighman (hassox)</user-name>
    <creator-name>Richard Grundy (RichGuk)</creator-name>
    <assigned-user-name>Daniel Neighman (hassox)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/2</url>
    <original-body>Attached are some patches:

1st - Extracted the redirect_to location into a method so this can be overwritten.

2nd Added a method to allow for more customization of the OpenID request, the method is to be overwritten.</original-body>
    <latest-body>Attached are some patches:

1st - Extracted the redirect_to location into a method so this can be overwritten.

2nd Added a method to allow for more customization of the OpenID request, the method is to be overwritten.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Attached are some patches:&lt;/p&gt;
&lt;p&gt;1st - Extracted the redirect_to location into a method so this
can be overwritten.&lt;/p&gt;
&lt;p&gt;2nd Added a method to allow for more customization of the OpenID
request, the method is to be overwritten.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">2719</assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-21T15:47:04-08:00</created-at>
    <creator-id type="integer">10329</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">13</number>
    <permalink>merb-auth-pass-response-headers-through-to-the-application</permalink>
    <priority type="integer">35013</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-auth patch</tag>
    <title>merb-auth: Pass response headers through to the application</title>
    <updated-at type="datetime">2008-11-21T15:47:08-08:00</updated-at>
    <user-id type="integer">10329</user-id>
    <user-name>Paul Sadauskas (Rando)</user-name>
    <creator-name>Paul Sadauskas (Rando)</creator-name>
    <assigned-user-name>Daniel Neighman (hassox)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/13</url>
    <original-body>In http digest auth, it is possible and advantageous to set an 'Authentication-Info' header with details that can be used by the client to pre-authorize for the next request. Currently, any headers that get set during a strategy are 'forgotten', and not available in the main merb application, and consequently doesn't make it back to the client. The patch makes that possible.</original-body>
    <latest-body>In http digest auth, it is possible and advantageous to set an 'Authentication-Info' header with details that can be used by the client to pre-authorize for the next request. Currently, any headers that get set during a strategy are 'forgotten', and not available in the main merb application, and consequently doesn't make it back to the client. The patch makes that possible.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;In http digest auth, it is possible and advantageous to set an
'Authentication-Info' header with details that can be used by the
client to pre-authorize for the next request. Currently, any
headers that get set during a strategy are 'forgotten', and not
available in the main merb application, and consequently doesn't
make it back to the client. The patch makes that possible.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-11-11T08:24:36-08:00</created-at>
    <creator-id type="integer">10618</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">7</number>
    <permalink>fatal-the-file-dm-core-was-not-found</permalink>
    <priority type="integer">38470</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>invalid</state>
    <tag>critical dm-core jruby merb-gen</tag>
    <title>FATAL: The file dm-core was not found</title>
    <updated-at type="datetime">2008-11-20T22:57:03-08:00</updated-at>
    <user-id type="integer">10354</user-id>
    <user-name>Michael Klishin (antares)</user-name>
    <creator-name>Jaroslaw Zabiello</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/7</url>
    <original-body>Strange. Datamapper gems were installed successfully under JRuby (I use fresh edge version rev8042). Merb project was also created fine. But I cannot create controller because
Merb raises exception &quot;FATAL: The file dm-core was not found&quot;. It but it make no sense, because I have that gem and dependency.

http://pastie.org/312339</original-body>
    <latest-body>Strange. Datamapper gems were installed successfully under JRuby (I use fresh edge version rev8042). Merb project was also created fine. But I cannot create controller because
Merb raises exception &quot;FATAL: The file dm-core was not found&quot;. It but it make no sense, because I have that gem and dependency.

http://pastie.org/312339</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Strange. Datamapper gems were installed successfully under JRuby
(I use fresh edge version rev8042). Merb project was also created
fine. But I cannot create controller because Merb raises exception
&quot;FATAL: The file dm-core was not found&quot;. It but it make no sense,
because I have that gem and dependency.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pastie.org/312339&quot;&gt;http://pastie.org/312339&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">2719</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-20T16:59:29-08:00</created-at>
    <creator-id type="integer">15574</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">12</number>
    <permalink>dodgy-merb-auth-callbacks-in-password-slice</permalink>
    <priority type="integer">35012</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-auth</tag>
    <title>dodgy merb-auth callbacks in password slice</title>
    <updated-at type="datetime">2008-11-20T17:28:01-08:00</updated-at>
    <user-id type="integer">2719</user-id>
    <user-name>Daniel Neighman (hassox)</user-name>
    <creator-name>Corey Donohoe</creator-name>
    <assigned-user-name>Daniel Neighman (hassox)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/12</url>
    <original-body>http://skitch.com/atmos/hey7/merb-auth-merb-auth-slice-password-app-controllers-sessions.rb-at-master-from-wycats-s-merb-github</original-body>
    <latest-body>http://skitch.com/atmos/hey7/merb-auth-merb-auth-slice-password-app-controllers-sessions.rb-at-master-from-wycats-s-merb-github</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://skitch.com/atmos/hey7/merb-auth-merb-auth-slice-password-app-controllers-sessions.rb-at-master-from-wycats-s-merb-github&quot;&gt;
http://skitch.com/atmos/hey7/mer...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-19T04:27:19-08:00</created-at>
    <creator-id type="integer">13283</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">10</number>
    <permalink>patch-enhanced-to-support-index_by-option-for-form_for-fields_for-and-fieldset_for</permalink>
    <priority type="integer">40043</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-helpers</tag>
    <title>[PATCH] Enhanced to support :index_by option for form_for(), fields_for(), and fieldset_for().</title>
    <updated-at type="datetime">2008-11-19T18:27:56-08:00</updated-at>
    <user-id type="integer">13283</user-id>
    <user-name>kwatch</user-name>
    <creator-name>kwatch</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/10</url>
    <original-body>A patch to enhance form_for(), fields_for(), and fieldset_for() to take :index_by option which helps you to generate same controls for several model objects.

For example:

@@@
&lt;% @students.each do |student| %&gt;
&lt;%   id = student.id %&gt;
&lt;p&gt;
  &lt;%= text_field :name =&gt; &quot;student[#{id}][name]&quot;, :value =&gt; student.name, :label =&gt; 'Name' %&gt;
  &lt;%= text_field :mail =&gt; &quot;student[#{id}][mail]&quot;, :value =&gt; student.mail, :label =&gt; 'Mail' %&gt;
&lt;/p&gt;
&lt;% end %&gt;
@@@

...will be:

@@@
&lt;% @students.each do |student| %&gt;
&lt;%=  fields_for student, :index_by =&gt; :id do %&gt;
&lt;p&gt;
  &lt;%= text_field :name, :label =&gt; 'Name' %&gt;
  &lt;%= text_field :mail, :label =&gt; 'Mail' %&gt;
&lt;/p&gt;
&lt;%   end =%&gt;
&lt;% end %&gt;
@@@

...if you apply the patch. The latter is more compact and readable than the former.

Both generate the same HTML such as:

@@@
&lt;p&gt;
  &lt;label for=&quot;student_name_101&quot;&gt;Name&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[101][name]&quot; id=&quot;student_name_101&quot; value=&quot;Foo&quot; /&gt;
  &lt;label for=&quot;student_mail_101&quot;&gt;Mail&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[101][mail]&quot; id=&quot;student_mail_101&quot; value=&quot;foo@mail.com&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;label for=&quot;student_name_102&quot;&gt;Name&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[102][name]&quot; id=&quot;student_name_102&quot; value=&quot;Bar&quot; /&gt;
  &lt;label for=&quot;student_mail_102&quot;&gt;Mail&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[102][mail]&quot; id=&quot;student_mail_102&quot; value=&quot;bar@mail.com&quot; /&gt;
&lt;/p&gt;
@@@

This way makes for controller action to handle several model objects very easy.

@@@
  def update
    params[:student].each do |id, values|
      student = Student.get(id) or NotFound
      student.update_attributes(values)
      ...
    end
  end
@@@</original-body>
    <latest-body>A patch to enhance form_for(), fields_for(), and fieldset_for() to take :index_by option which helps you to generate same controls for several model objects.

For example:

@@@
&lt;% @students.each do |student| %&gt;
&lt;%   id = student.id %&gt;
&lt;p&gt;
  &lt;%= text_field :name =&gt; &quot;student[#{id}][name]&quot;, :value =&gt; student.name, :label =&gt; 'Name' %&gt;
  &lt;%= text_field :mail =&gt; &quot;student[#{id}][mail]&quot;, :value =&gt; student.mail, :label =&gt; 'Mail' %&gt;
&lt;/p&gt;
&lt;% end %&gt;
@@@

...will be:

@@@
&lt;% @students.each do |student| %&gt;
&lt;%=  fields_for student, :index_by =&gt; :id do %&gt;
&lt;p&gt;
  &lt;%= text_field :name, :label =&gt; 'Name' %&gt;
  &lt;%= text_field :mail, :label =&gt; 'Mail' %&gt;
&lt;/p&gt;
&lt;%   end =%&gt;
&lt;% end %&gt;
@@@

...if you apply the patch. The latter is more compact and readable than the former.

Both generate the same HTML such as:

@@@
&lt;p&gt;
  &lt;label for=&quot;student_name_101&quot;&gt;Name&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[101][name]&quot; id=&quot;student_name_101&quot; value=&quot;Foo&quot; /&gt;
  &lt;label for=&quot;student_mail_101&quot;&gt;Mail&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[101][mail]&quot; id=&quot;student_mail_101&quot; value=&quot;foo@mail.com&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;label for=&quot;student_name_102&quot;&gt;Name&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[102][name]&quot; id=&quot;student_name_102&quot; value=&quot;Bar&quot; /&gt;
  &lt;label for=&quot;student_mail_102&quot;&gt;Mail&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;student[102][mail]&quot; id=&quot;student_mail_102&quot; value=&quot;bar@mail.com&quot; /&gt;
&lt;/p&gt;
@@@

This way makes for controller action to handle several model objects very easy.

@@@
  def update
    params[:student].each do |id, values|
      student = Student.get(id) or NotFound
      student.update_attributes(values)
      ...
    end
  end
@@@</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;A patch to enhance form_for(), fields_for(), and fieldset_for()
to take :index_by option which helps you to generate same controls
for several model objects.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
&amp;lt;% @students.each do |student| %&amp;gt;
&amp;lt;%   id = student.id %&amp;gt;
&amp;lt;p&amp;gt;
  &amp;lt;%= text_field :name =&amp;gt; &amp;quot;student[#{id}][name]&amp;quot;, :value =&amp;gt; student.name, :label =&amp;gt; 'Name' %&amp;gt;
  &amp;lt;%= text_field :mail =&amp;gt; &amp;quot;student[#{id}][mail]&amp;quot;, :value =&amp;gt; student.mail, :label =&amp;gt; 'Mail' %&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;...will be:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
&amp;lt;% @students.each do |student| %&amp;gt;
&amp;lt;%=  fields_for student, :index_by =&amp;gt; :id do %&amp;gt;
&amp;lt;p&amp;gt;
  &amp;lt;%= text_field :name, :label =&amp;gt; 'Name' %&amp;gt;
  &amp;lt;%= text_field :mail, :label =&amp;gt; 'Mail' %&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;%   end =%&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;...if you apply the patch. The latter is more compact and
readable than the former.&lt;/p&gt;
&lt;p&gt;Both generate the same HTML such as:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
&amp;lt;p&amp;gt;
  &amp;lt;label for=&amp;quot;student_name_101&amp;quot;&amp;gt;Name&amp;lt;/label&amp;gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;student[101][name]&amp;quot; id=&amp;quot;student_name_101&amp;quot; value=&amp;quot;Foo&amp;quot; /&amp;gt;
  &amp;lt;label for=&amp;quot;student_mail_101&amp;quot;&amp;gt;Mail&amp;lt;/label&amp;gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;student[101][mail]&amp;quot; id=&amp;quot;student_mail_101&amp;quot; value=&amp;quot;foo@mail.com&amp;quot; /&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;
  &amp;lt;label for=&amp;quot;student_name_102&amp;quot;&amp;gt;Name&amp;lt;/label&amp;gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;student[102][name]&amp;quot; id=&amp;quot;student_name_102&amp;quot; value=&amp;quot;Bar&amp;quot; /&amp;gt;
  &amp;lt;label for=&amp;quot;student_mail_102&amp;quot;&amp;gt;Mail&amp;lt;/label&amp;gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;student[102][mail]&amp;quot; id=&amp;quot;student_mail_102&amp;quot; value=&amp;quot;bar@mail.com&amp;quot; /&amp;gt;
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This way makes for controller action to handle several model
objects very easy.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
  def update
    params[:student].each do |id, values|
      student = Student.get(id) or NotFound
      student.update_attributes(values)
      ...
    end
  end
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">1</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-19T18:25:52-08:00</created-at>
    <creator-id type="integer">13283</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">11</number>
    <permalink>patch-refactor-bound_text_area-to-use-control_name-in-formbuilderrb</permalink>
    <priority type="integer">40206</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>merb-helpers</tag>
    <title>[PATCH] Refactor bound_text_area() to use control_name() in 'form/builder.rb'.</title>
    <updated-at type="datetime">2008-11-19T18:25:55-08:00</updated-at>
    <user-id type="integer">13283</user-id>
    <user-name>kwatch</user-name>
    <creator-name>kwatch</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/11</url>
    <original-body>bound_text_area() in 'form/builder.rb' should use 'control_name(method)' instead of '&quot;#{@name}[#{method}]&quot;'.

@@@
diff --git a/merb-helpers/lib/merb-helpers/form/builder.rb b/merb-helpers/lib/me
rb-helpers/form/builder.rb
index 81dfa74..c962775 100644
--- a/merb-helpers/lib/merb-helpers/form/builder.rb
+++ b/merb-helpers/lib/merb-helpers/form/builder.rb
@@ -99,7 +99,8 @@ module Merb::Helpers::Form::Builder
     end
 
     def bound_text_area(method, attrs = {})
-      name = &quot;#{@name}[#{method}]&quot;
+      #name = &quot;#{@name}[#{method}]&quot;
+      name = control_name(method)
       update_bound_controls(method, attrs, &quot;text_area&quot;)
       unbound_text_area(control_value(method), {:name =&gt; name}.merge(attrs))
     end
@@@</original-body>
    <latest-body>bound_text_area() in 'form/builder.rb' should use 'control_name(method)' instead of '&quot;#{@name}[#{method}]&quot;'.

@@@
diff --git a/merb-helpers/lib/merb-helpers/form/builder.rb b/merb-helpers/lib/me
rb-helpers/form/builder.rb
index 81dfa74..c962775 100644
--- a/merb-helpers/lib/merb-helpers/form/builder.rb
+++ b/merb-helpers/lib/merb-helpers/form/builder.rb
@@ -99,7 +99,8 @@ module Merb::Helpers::Form::Builder
     end
 
     def bound_text_area(method, attrs = {})
-      name = &quot;#{@name}[#{method}]&quot;
+      #name = &quot;#{@name}[#{method}]&quot;
+      name = control_name(method)
       update_bound_controls(method, attrs, &quot;text_area&quot;)
       unbound_text_area(control_value(method), {:name =&gt; name}.merge(attrs))
     end
@@@</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;bound_text_area() in 'form/builder.rb' should use
'control_name(method)' instead of '&quot;#{@name}[#{method}]&quot;'.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
diff --git a/merb-helpers/lib/merb-helpers/form/builder.rb b/merb-helpers/lib/me
rb-helpers/form/builder.rb
index 81dfa74..c962775 100644
--- a/merb-helpers/lib/merb-helpers/form/builder.rb
+++ b/merb-helpers/lib/merb-helpers/form/builder.rb
@@ -99,7 +99,8 @@ module Merb::Helpers::Form::Builder
     end

     def bound_text_area(method, attrs = {})
-      name = &amp;quot;#{@name}[#{method}]&amp;quot;
+      #name = &amp;quot;#{@name}[#{method}]&amp;quot;
+      name = control_name(method)
       update_bound_controls(method, attrs, &amp;quot;text_area&amp;quot;)
       unbound_text_area(control_value(method), {:name =&amp;gt; name}.merge(attrs))
     end
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer" nil="true"></assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-10T16:04:58-08:00</created-at>
    <creator-id type="integer">16843</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">6</number>
    <permalink>form_for-does-not-pluralize-route-name</permalink>
    <priority type="integer">38356</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag nil="true"></tag>
    <title>form_for does not pluralize route name</title>
    <updated-at type="datetime">2008-11-10T21:14:40-08:00</updated-at>
    <user-id type="integer">24705</user-id>
    <user-name>Ben Alpert (spicyj)</user-name>
    <creator-name>Kyle Drake</creator-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/6</url>
    <original-body>resources :people

+

class People &lt; Application
  
  def new
    @person = Person.new
    render
  end
  
end

+

&lt;%= form_for @person do %&gt;
  &lt;%= text_field :name %&gt;
  &lt;%= submit 'Go!' %&gt;
&lt;% end =%&gt;

=

&lt;form method=&quot;post&quot; action=&quot;/person&quot;&gt;
&lt;input type=&quot;text&quot; class=&quot;text&quot; value=&quot;&quot; name=&quot;person[name]&quot; id=&quot;person_name&quot;/&gt;
&lt;input type=&quot;submit&quot; value=&quot;Go!&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt;

It should be action=&quot;/people&quot;.</original-body>
    <latest-body>resources :people

+

class People &lt; Application
  
  def new
    @person = Person.new
    render
  end
  
end

+

&lt;%= form_for @person do %&gt;
  &lt;%= text_field :name %&gt;
  &lt;%= submit 'Go!' %&gt;
&lt;% end =%&gt;

=

&lt;form method=&quot;post&quot; action=&quot;/person&quot;&gt;
&lt;input type=&quot;text&quot; class=&quot;text&quot; value=&quot;&quot; name=&quot;person[name]&quot; id=&quot;person_name&quot;/&gt;
&lt;input type=&quot;submit&quot; value=&quot;Go!&quot; name=&quot;submit&quot;/&gt;
&lt;/form&gt;

It should be action=&quot;/people&quot;.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;resources :people&lt;/p&gt;
&lt;p&gt;+&lt;/p&gt;
&lt;p&gt;class People &amp;lt; Application&lt;/p&gt;
&lt;p&gt;def new&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;@person = Person.new
render
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;+&lt;/p&gt;
&lt;p&gt;&amp;lt;%= form_for @person do %&amp;gt; &amp;lt;%= text_field :name %&amp;gt;
&amp;lt;%= submit 'Go!' %&amp;gt; &amp;lt;% end =%&amp;gt;&lt;/p&gt;
&lt;p&gt;=&lt;/p&gt;
&lt;p&gt;It should be action=&quot;/people&quot;.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">12714</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-06T12:22:54-08:00</created-at>
    <creator-id type="integer">15495</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">5</number>
    <permalink>wrong-constant-name-testmain</permalink>
    <priority type="integer">34672</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>0.9.13 constant merb-action-args merb-slices</tag>
    <title>wrong constant name Test:Main</title>
    <updated-at type="datetime">2008-11-06T12:24:02-08:00</updated-at>
    <user-id type="integer">15495</user-id>
    <user-name>uipoet</user-name>
    <creator-name>uipoet</creator-name>
    <assigned-user-name>Yehuda Katz (wycats)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/5</url>
    <original-body>With a clean installation of merb 0.9.13 stack and the default generated merb-slice called &quot;test&quot; depended and routed, start up the merb host app and navigate to the default routed url &quot;localhost:4000/test&quot;.

Here's what you get:

 ~ Connecting to database...
 ~ Loaded slice 'MerbAuthSlicePassword' ...
 ~ Loaded slice 'Test' ...
 ~ Parent pid: 3454
 ~ Compiling routes...
 ~ Activating slice 'MerbAuthSlicePassword' ...
 ~ Activating slice 'Test' ...
merb : worker (port 80) ~ Starting Thin at port 80
merb : worker (port 80) ~ Using Thin adapter on host 0.0.0.0 and port 80.
merb : worker (port 80) ~ Successfully bound to port 80
merb : worker (port 80) ~ Started request handling: Thu Nov 06 12:09:53 -0800 2008
merb : worker (port 80) ~ Routed to: {&quot;action&quot;=&gt;&quot;index&quot;, &quot;controller&quot;=&gt;&quot;test/main&quot;}
merb : worker (port 80) ~ Params: {&quot;action&quot;=&gt;&quot;index&quot;, &quot;controller&quot;=&gt;&quot;test/main&quot;}
merb : worker (port 80) ~ wrong constant name Test::Main - (NameError)
/Library/Ruby/Gems/1.8/gems/merb-action-args-0.9.13/lib/merb-action-args/get_args.rb:86:in `const_get'</original-body>
    <latest-body>With a clean installation of merb 0.9.13 stack and the default generated merb-slice called &quot;test&quot; depended and routed, start up the merb host app and navigate to the default routed url &quot;localhost:4000/test&quot;.

Here's what you get:

 ~ Connecting to database...
 ~ Loaded slice 'MerbAuthSlicePassword' ...
 ~ Loaded slice 'Test' ...
 ~ Parent pid: 3454
 ~ Compiling routes...
 ~ Activating slice 'MerbAuthSlicePassword' ...
 ~ Activating slice 'Test' ...
merb : worker (port 80) ~ Starting Thin at port 80
merb : worker (port 80) ~ Using Thin adapter on host 0.0.0.0 and port 80.
merb : worker (port 80) ~ Successfully bound to port 80
merb : worker (port 80) ~ Started request handling: Thu Nov 06 12:09:53 -0800 2008
merb : worker (port 80) ~ Routed to: {&quot;action&quot;=&gt;&quot;index&quot;, &quot;controller&quot;=&gt;&quot;test/main&quot;}
merb : worker (port 80) ~ Params: {&quot;action&quot;=&gt;&quot;index&quot;, &quot;controller&quot;=&gt;&quot;test/main&quot;}
merb : worker (port 80) ~ wrong constant name Test::Main - (NameError)
/Library/Ruby/Gems/1.8/gems/merb-action-args-0.9.13/lib/merb-action-args/get_args.rb:86:in `const_get'</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;With a clean installation of merb 0.9.13 stack and the default
generated merb-slice called &quot;test&quot; depended and routed, start up
the merb host app and navigate to the default routed url
&quot;localhost:4000/test&quot;.&lt;/p&gt;
&lt;p&gt;Here's what you get:&lt;/p&gt;
&lt;p&gt;~ Connecting to database... ~ Loaded slice
'MerbAuthSlicePassword' ... ~ Loaded slice 'Test' ... ~ Parent pid:
3454 ~ Compiling routes... ~ Activating slice
'MerbAuthSlicePassword' ... ~ Activating slice 'Test' ... merb :
worker (port 80) ~ Starting Thin at port 80 merb : worker (port 80)
~ Using Thin adapter on host 0.0.0.0 and port 80. merb : worker
(port 80) ~ Successfully bound to port 80 merb : worker (port 80) ~
Started request handling: Thu Nov 06 12:09:53 -0800 2008 merb :
worker (port 80) ~ Routed to: {&quot;action&quot;=&amp;gt;&quot;index&quot;,
&quot;controller&quot;=&amp;gt;&quot;test/main&quot;} merb : worker (port 80) ~ Params:
{&quot;action&quot;=&amp;gt;&quot;index&quot;, &quot;controller&quot;=&amp;gt;&quot;test/main&quot;} merb : worker
(port 80) ~ wrong constant name Test::Main - (NameError)
/Library/Ruby/Gems/1.8/gems/merb-action-args-0.9.13/lib/merb-action-args/get_args.rb:86:in
&lt;code&gt;const_get'&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">12714</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-11-04T22:17:22-08:00</created-at>
    <creator-id type="integer">17921</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">4</number>
    <permalink>additional-cache-store-mintcache-for-merb-cache</permalink>
    <priority type="integer">34671</priority>
    <project-id type="integer">7435</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>new</state>
    <tag>cache merb-cache patch store</tag>
    <title>Additional cache store &quot;mintcache&quot; for merb-cache</title>
    <updated-at type="datetime">2008-11-04T22:19:23-08:00</updated-at>
    <user-id type="integer">17921</user-id>
    <user-name>Ben Schwarz</user-name>
    <creator-name>Ben Schwarz</creator-name>
    <assigned-user-name>Yehuda Katz (wycats)</assigned-user-name>
    <url>http://merb.lighthouseapp.com/projects/7435/tickets/4</url>
    <original-body>Added a new cache store that was burned while benburkert was doing his hack over the original repo hassox and I started.

Other than this there is a change to the run_later request hash that merb-cache sends, only in regard to setting a &#8220;merb&#8221; user agent.</original-body>
    <latest-body>Added a new cache store that was burned while benburkert was doing his hack over the original repo hassox and I started.

Other than this there is a change to the run_later request hash that merb-cache sends, only in regard to setting a &#8220;merb&#8221; user agent.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Added a new cache store that was burned while benburkert was
doing his hack over the original repo hassox and I started.&lt;/p&gt;
&lt;p&gt;Other than this there is a change to the run_later request hash
that merb-cache sends, only in regard to setting a
&amp;#8220;merb&amp;#8221; user agent.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
</tickets>
