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.

Chad Arimura's latest activity

Friday, March 05 2010
15 Rest routing without implicit .id does not work was updated in SimpleRecord
  • Chad Arimura
    Chad Arimura commented at 12:57 AM

    Actually I take that back redirect_to(@user.id) doesn't work anyways.... it doesn't throw an error per se but it's not supported...

    Adding functionality for tha...

  • Chad Arimura
    Chad Arimura created the ticket at 12:52 AM

    For example: when generating scaffolding for Rails 2, you'll get lines of code like this that work with ActiveRecord

    format.html { redirect_to(@user) }

    Simplere...

Tuesday, December 29 2009
14 att_meta is nil and errors app was created in SimpleRecord
  • Chad Arimura
    Chad Arimura created the ticket at 5:18 PM

    Fix (not sure if this changes intended functionality):

    Line 895 - if att_meta && att_meta.type == :belongs_to

    Line 986 - if att_meta && att_meta.options

Friday, October 23 2009
11 Make destroy() and alias for delete() was created in SimpleRecord
  • Chad Arimura
    Chad Arimura created the ticket at 8:02 PM

    I wasn't aware this didn't work but to comply with ActiveRecord we may want to alias delete with destroy....

    However I think AR.destroy actually allows the obje...

Tuesday, October 13 2009
7 model.attrib = nil is leaving a "nil" string was updated in SimpleRecord
  • Chad Arimura
    Chad Arimura commented at 2:38 PM

    resolved - will push soon

  • Chad Arimura
    Chad Arimura created the ticket at 2:30 AM

    Needs to delete the attribute instead....

9 Fix test_objects_in_constructor or remove test was created in SimpleRecord
  • Chad Arimura
    Chad Arimura created the ticket at 2:37 PM

    2) Error:
    test_objects_in_constructor(TestSimpleRecord):
    NoMethodError: undefined method gsub' for nil:NilClass<br/>

    /usr/local/lib/ruby/1.9.1/cgi/util.rb:6:in...
8 Resolve test_changed test was created in SimpleRecord
  • Chad Arimura
    Chad Arimura created the ticket at 2:36 PM

    1) Failure:
    test_changed(TestSimpleRecord) [test_simple_record.rb:150]:
    is not true.

1 Should we push save() attribute deletion into AWS from simple_record? was created in Ruby AWS Gem
  • Chad Arimura
    Chad Arimura created the ticket at 2:28 PM

    It seems that AWS is saving nil and then SR is deleting the attribute. We shuold possibly bring this up to AWS for efficiency.

Friday, October 09 2009
5 Implement Model.all was updated in SimpleRecord
  • Chad Arimura
    • Assigned user set to Chad Arimura
    by Chad Arimura at 11:27 AM