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.

sarah (at ultrasaurus)'s latest activity

Sunday, February 06 2011
5852 please don't hide test framework generators was updated in Ruby on Rails
  • sarah (at ultrasaurus)
    • State changed from stale to open
    by sarah (at ultrasaurus) at 1:03 AM

    [state:open] The current behavior is very confusing for people new to Rails who are using rspec. It seems like there was a real effort in Rails 3 to treat all t...

  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) commented at 12:58 AM

    this is still a problem in Rails 3.0.3:

    $ rails -v Rails 3.0.3

    $ rails generate Usage: rails generate GENERATOR [args] [options]

    General options:
    -h, [--help] #...

Thursday, October 21 2010
5852 please don't hide test framework generators was created in Ruby on Rails
  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) created the ticket at 4:26 PM

    In order to do test-driven development with rspec, I like to use the rspec:model, rspec:controller, etc. generators. These don't show up in the docs and I'd lik...

5111 Hide test_unit generators when other frameworks are assigned as test_framework was updated in Ruby on Rails
  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) commented at 4:25 PM

    why isn't testunit a gem like rspec? then it could be listed in my Gemfile and I could omit it if I don't want its generators to show up

Sunday, December 13 2009
2683 Postgres: Invalid default value getting from character varying columns. was updated in Ruby on Rails
Monday, September 28 2009
3192 should be able to truncate a multibyte string to a max # of bytes was updated in Ruby on Rails
  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) commented at 12:17 PM

    Mike,

    Sure you can find out the length in bytes for a multi-byte string, but to actually truncate it at a character boundary requires some effort (as you can se...

Saturday, September 12 2009
3192 should be able to truncate a multibyte string to a max # of bytes was updated in Ruby on Rails
  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) commented at 12:07 AM

    FYI: happy to create a patch if y'all want this change (paired with Wolfram Arnold on this)

  • sarah (at ultrasaurus)
    sarah (at ultrasaurus) created the ticket at 12:06 AM

    Common issue when you have a database column limited to a specific number of bytes, but you might have a multi-byte string. We think there should be a method to...

3191 should be able to truncate a string was created in Ruby on Rails
Sunday, July 12 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails