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.

Activity (RSS)

Wednesday, April 14 2010
17 assigning a DateTime to a has_dates attribute doesn't work properly was created
  • chris finne
    chris finne created the ticket at 3:40 PM

    Note the formatting of the string isn't done properly when a DateTime is saved

    http://gist.github.com/366422

    This is because in
    SimpleRecord::Translations.pad_a...

Tuesday, April 06 2010
16 find a false boolean fails was updated
  • chris finne
    chris finne commented at 3:26 AM

    It also fails in the same way with find(:all, :conditions) where conditions is a hash or an array.

    I think I've traced it to this method in the aws gem: right_s...

  • chris finne
    chris finne created the ticket at 3:02 AM

    This fails:
    ReportPageView.find_all_by_is_processed(false)

    the "false" value not being appended to the SELECT statement...

    Aws::AwsError: InvalidQueryExpression...

Friday, March 05 2010
15 Rest routing without implicit .id does not work was updated
  • 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...

Wednesday, December 30 2009
14 att_meta is nil and errors app was updated
Tuesday, December 29 2009
14 att_meta is nil and errors app was created
  • 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

Tuesday, November 17 2009
12 When pushing items into ResultsArray, size of array is no longer valid was created
  • travis (at appoxy)
    travis (at appoxy) created the ticket at 3:34 PM

    eg:

    results << x
    

    This is because size is based on the COUNT in the database, not the backing array. Needs to be another counter or something that is added to ...

Friday, October 23 2009
11 Make destroy() and alias for delete() was created
  • 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...

Wednesday, October 14 2009
10 add newify or mark_as_new method which resets id and @new_record = true was created
Tuesday, October 13 2009
7 model.attrib = nil is leaving a "nil" string was updated
  • 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
  • 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
  • Chad Arimura
    Chad Arimura created the ticket at 2:36 PM

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

Friday, October 09 2009
4 Implement paging with COUNT/LIMIT and next_token was updated
5 Implement Model.all was updated
  • Chad Arimura
    • Assigned user set to Chad Arimura
    by Chad Arimura at 11:27 AM
6 Convert params to appropriate types on Model.new(params[:model]) in rails was created
  • travis (at appoxy)
    travis (at appoxy) created the ticket at 10:58 AM

    Currently sets them all as strings so if it gets saved, it saves as inputted string without the padding/offsets.

    Eg:

    class MyModel < SimpleRecord::Base
       has_...
Thursday, October 08 2009
5 Implement Model.all was created
  • Chad Arimura
    Chad Arimura created the ticket at 10:54 PM

    Alias Model.all to Model.find(:all)

    Not mission critical but provides cleaner ActiveRecord drop-in.

Tuesday, September 29 2009
2 Need to add validation methods in simplerecord was updated
1 Support for random index look ups in ResultsArray was updated
3 Make box usage and what not available in the ResultsArray was created
  • travis (at appoxy)
    travis (at appoxy) created the ticket at 4:58 PM

    Add up the box usage for every next_token query in this ResultsArray.

    • total_box_usage
    • query_count (number queries issues with next_token)

    Could maybe even spi...

Monday, September 28 2009
“Should we add paginate method so will...” was edited by travis (at appoxy) in SimpleRecord
1 Support for random index look ups in ResultsArray was updated
2 Need to add validation methods in simplerecord was created
  • sadesh kumar
    sadesh kumar created the ticket at 8:14 PM

    We need to add validation methods 'valid?' and 'invalid?' to simple record as active record has in order to perform validation alone on simplerecord object.

Home was created by travis (at appoxy) in SimpleRecord at 8:06 PM