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.

There was a problem

You must be a member of this account.

eydaimon's latest activity

Friday, November 12 2010
2558 Support for :joins in ActiveRecord::Base#update_all was updated in Ruby on Rails
  • eydaimon
    eydaimon commented at 6:43 PM

    +1 on supporting this.

    I'd want to be able to do:

    User.find(30).tasks.update_all completed: true
    
Tuesday, October 19 2010
5794 using include? on a time range yields unhappy results was updated in Ruby on Rails
  • eydaimon
    eydaimon commented at 4:34 PM

    I said from the beginning the solution was just to use .to_i on the date fields. I don't see how it's invalid. It's unexpected behavior.

Tuesday, October 12 2010
5794 using include? on a time range yields unhappy results was updated in Ruby on Rails
  • eydaimon
    • Tag changed from rails3.0.0, range, time to 1.9.2, rails3.0.0, range, time
    by eydaimon at 11:17 PM
  • eydaimon
    eydaimon created the ticket at 9:07 PM

    Example:

    Loading development environment (Rails 3.0.0)
    ruby-1.9.2-p0 > (1.day.ago..Time.now).include? 3.hours.ago
       succ is obsolete; use time + 1
    /Users/dani...
Thursday, October 07 2010
5255 ActionMailer 3.0 drops name part in email was updated in Ruby on Rails
  • eydaimon
    eydaimon commented at 6:51 PM

    @aditya, thanks for the clarification. I re-read the thread and you're correct. For some reason I thought it wasn't being included in the sent-mail when I respo...

  • eydaimon
    eydaimon commented at 3:59 PM

    E-Mail clients render the name field to display the email better, so it's definitely desired. It's standard, and I'm quite surprised you're suggesting just clos...

Friday, July 30 2010
5255 ActionMailer 3.0 drops name part in email was updated in Ruby on Rails
  • eydaimon
    • Tag changed from rails 3.0.rc to rails 3.0.0.beta3
    by eydaimon at 8:04 PM
  • eydaimon
    eydaimon created the ticket at 8:04 PM

    Example:

    m = mail to: "Name <address@mail.com>"
    m.to.first
    #=> "address@mail.com"
    

    Notice how the to: header drops the "Name" part of the address.

    Edited by Ro...

5246 HttpAuthentication::Basic gives wrong information on example on how to authen... was created in Ruby on Rails
Sunday, May 09 2010
4557 ActionMailer::Base incompatible with Rack::Test::Methods was updated in Ruby on Rails
  • eydaimon
    eydaimon commented at 8:56 AM

    better formatting here...

    class Rspec::Core::ExampleGroup
      # this include really screws up ActionMailer so we put it only in the scope
      # where it's needed.
    ...