Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Craig Buchek's latest activity

Sunday, May 16 2010
4620 partial locals do not accept a string constant was created in Ruby on Rails
  • Craig Buchek
    Craig Buchek created the ticket at 8:05 PM

    When I try to set a locals variable to a string in a partial render, it doesn't get assigned properly. If I instead use an intermediate variable, it works.

    View...

Tuesday, April 13 2010
4074 'rails' should accept command line arguments in any order was updated in Ruby on Rails
  • Craig Buchek
    • Tag set to duplicate
    • Assigned user set to Prem Sichanugrist (sikachu)
    by Craig Buchek at 2:26 AM
3115 PATCH: ActiveRecord::Base.subclasses is not publicly accessible was updated in Ruby on Rails
  • Craig Buchek
    Craig Buchek commented at 2:00 AM

    +1 -- I've found this very useful.

    Patch still applies cleanly as of 2010-04-12 / 3c456a869abeb0a639518180214db5ead428aedf.

    Was unable to test ActiveRecord, due...

3532 Print partial name in HTML, in development mode was updated in Ruby on Rails
  • Craig Buchek
    • Tag changed from html comment partials, rails to html comment partials, feature_request, partials, rails
    • Assigned user set to DHH
    by Craig Buchek at 1:54 AM

    This sounds like a good idea, but should only be enabled in non-production environments. (And easily turned off or on.)

    That said, this is a feature request, an...

4381 RAILS_ROOT occurrences was created in Ruby on Rails
  • Craig Buchek
    Craig Buchek created the ticket at 1:46 AM

    Found that RAILS_ROOT still exists in a couple places in Rails master (as of 3c456a869abeb0a639518180214db5ead428aedf):

    ci/site_config.rb (line 72) railties/lib...

3411 Remove RAILS_ROOT from action_dispatch's _trace.erb was updated in Ruby on Rails
  • Craig Buchek
    • Tag set to fixed
    • Assigned user set to Ryan Bigg
    by Craig Buchek at 1:33 AM

    RAILS_ROOT no longer occurs in the _trace.erb file.

3509 Rails template should allow to specify framework parts was updated in Ruby on Rails
  • Craig Buchek
    • Assigned user changed from Eloy Duran to Ryan Bigg
    by Craig Buchek at 1:24 AM
  • Craig Buchek
    • Tag changed from app, template to app, feature_request, template
    • Assigned user changed from Ryan Bigg to Eloy Duran
    by Craig Buchek at 1:24 AM
3417 number_to_human_size truncates zeros from numbers like 10, 20, 100, 5000 etc.... was updated in Ruby on Rails
  • Craig Buchek
    • Tag set to fixed
    • Assigned user set to Jeremy Kemper
    by Craig Buchek at 1:22 AM

    Patch does not apply clean to master as of 3c456a869abeb0a639518180214db5ead428aedf, but test passes without changes.

    Attaching file with added test.

Tuesday, March 30 2010
2221 create_table cannot be called without block was updated in Ruby on Rails
  • Craig Buchek
    • Tag changed from 2.3, 2.3-rc2, activerecord, bug, patch to 2.3, 2.3-rc2, 2.3-stable, activerecord, bug, patch
    by Craig Buchek at 2:47 AM

    Hey, this commit never made it into 2.3.3, 2.3.4, 2.3.5, or even 2.3-stable! How the heck did that happen?

    See line 104 in http://github.com/rails/rails/blame/...