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.

Josh Sharpe's latest activity

Tuesday, April 26 2011
6745 [PATCH] full_messages generates lame messages for associations was updated in Ruby on Rails
  • Josh Sharpe
    Josh Sharpe commented at 4:33 AM

    okay... fail. maybe this will work

  • Josh Sharpe
    Josh Sharpe commented at 4:31 AM

    okay, seriously, lighthouse won't accept my patch. no error, nothing:

    http://pastebin.com/qVeRBp3R

  • Josh Sharpe
    Josh Sharpe created the ticket at 4:28 AM

    Imagine you're a User and you accepts_nested_attributes for Profile. And your fun developer goes and does something like this:

    @u = User.new @u.build_profile @u...

Thursday, May 27 2010
4165 revise #to_a in associations was updated in Ruby on Rails
  • Josh Sharpe
    • Assigned user set to Jeremy Kemper
    by Josh Sharpe at 9:54 PM

    This bug actually exists on on the 2-3 branch as well and just bit us. Should this also be applied there?

Wednesday, April 28 2010
4149 strange 'require' behavior in development environment was updated in Ruby on Rails
  • Josh Sharpe
    Josh Sharpe commented at 5:54 PM

    requiring open-uri at the top of environment.rb and removing it from all of my Modules 'fixes' this -- although it's definitely the wrong solution.

  • Josh Sharpe
    Josh Sharpe commented at 4:42 PM

    I can confirm this is still happening here:

    $ rails --version Rails 3.0.0.beta3
    $ ruby --version ruby 1.9.2dev (2010-04-28 trunk 27525) [x86_64-darwin10.3.0]

    My...

Thursday, November 12 2009
3483 FormHelper#label :id => nil doesn't nullify the id attribute was created in Ruby on Rails
  • Josh Sharpe
    Josh Sharpe created the ticket at 5:59 AM

    For at least #label and #text_field (my guess is the rest of the helpers) passing :id => nil as an option does not prevent the ID attribute from showing up on t...

Tuesday, October 27 2009
3432 table_name_id_seq isn't renamed along with the table's rename in postgres was created in Ruby on Rails
  • Josh Sharpe
    Josh Sharpe created the ticket at 9:14 PM

    In postgres, when you create a table a sequence is also created named 'table_name_id_seq' which (I think) is used to generate the next ID for the table.

    If you ...

Saturday, September 26 2009
3193 Rails 2.3.4, json gem : to_json issue was updated in Ruby on Rails
  • Josh Sharpe
    Josh Sharpe commented at 7:13 PM

    dear lighthouse,
    whatever you're doing with my text, you're doing it wrong
    pastie does it pretty well though
    bai

    http://pastie.org/631729

  • Josh Sharpe
    Josh Sharpe commented at 7:11 PM

    looks invalid to me:

    $ sc Loading development environment (Rails 2.3.3)

    Item.new.to_json SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Item Columns (2.0ms) SHOW FIELDS F...