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.

Prem Sichanugrist (sikachu)'s latest activity

Friday, December 31 2010
6242 Use Rails 3.1 `change` method in migration and model generators was created in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu) created the ticket at 6:25 PM

    I saw that Aaron has done a great job on implementing migration's change method. So, I think we should use that in Rails 3.1 generators by default.

    I've attache...

6241 Make sure that generator's default banner is showing its namespace was updated in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    • Milestone cleared.
    by Prem Sichanugrist (sikachu) at 5:53 PM

    Seems like I forgot the patch. Here's the patch

  • Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu) created the ticket at 5:18 PM

    Currently if you run a namespaced generator help message, it would show up only the latter part of the generator:

    [~/Projects/test_edge] rails g rspec:install ...
Thursday, December 16 2010
6098 ActiveRecord Fixture class was updated in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    • Milestone cleared.
    • State changed from open to verified
    • Assigned user changed from Prem Sichanugrist (sikachu) to Aaron Patterson
    by Prem Sichanugrist (sikachu) at 4:22 PM

    Your patch looks great! I'll assign to Aaron to get your patch in.

    Aaron, could you please handle this for me? I don't know that it would break any gem/plugin o...

Thursday, December 09 2010
6098 ActiveRecord Fixture class was updated in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    • State changed from new to open
    • Assigned user set to Prem Sichanugrist (sikachu)
    • Importance changed from to Medium
    by Prem Sichanugrist (sikachu) at 2:32 PM

    Yes, I'm agree on having Fixture model namespaced under ActiveRecord module. Would you please provide a patch for it?

    Thank you

Thursday, November 25 2010
6020 Allow user to specify the partial which will be rendered if the collection is... was updated in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    • State changed from invalid to open
    by Prem Sichanugrist (sikachu) at 11:03 AM

    Ok, I've update the patch with the version that we've discussed. It will allow the spacer_template to be set in the short-hand version.

Tuesday, November 23 2010
6028 Routing breakage in 3.0.3 was updated in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    • Importance changed from Low to Medium
    by Prem Sichanugrist (sikachu) at 1:44 PM
  • Prem Sichanugrist (sikachu)
    • State changed from new to open
    • Assigned user set to Prem Sichanugrist (sikachu)
    • Importance changed from to Low
    by Prem Sichanugrist (sikachu) at 1:44 PM

    Hi,

    I can confirm that the behavior has been changed. That commits were making sure that no duplicate named route should be created. That's why in 3.0.3 you wou...

Saturday, November 20 2010
6021 Make User[:id] returning Arel::Attributes::* instance as a shortcut to use AR... was created in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu) created the ticket at 5:40 PM

    Hi,

    I've discussed with Aaron yesterday about the way that I can use ARel's comparison methods (#gt, #lt, and so on) in AR. Turned out that I have to access it ...

6020 Allow user to specify the partial which will be rendered if the collection is... was created in Ruby on Rails
  • Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu) created the ticket at 5:02 PM

    Hi,

    I've think about this a while ago, and it seems like in the real app I've to keep doing this:

    <%- unless @posts.empty? %>
      <%= render @posts %>
    <%- else -...