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.

This project is archived and is in readonly mode.

Activity (RSS)

Wednesday, April 23 2008
40 nil default options for file_store was updated
  • Michael Koziarski
    Michael Koziarski commented at 9:25 AM

    Um, the patches are gone now?

  • geemus (Wesley Beary)
    geemus (Wesley Beary) commented at 12:35 AM

    Both patches are the same, accidentally double posted (because I didn't see it appear the first time). Trying to delete visually makes it disappear, but it is...

  • Chad
    Chad commented at 12:34 AM

    +1

  • geemus (Wesley Beary)
    geemus (Wesley Beary) created the ticket at 12:29 AM

    When working with custom caching, I switched from memory_store to file_store and started having a number of errors that I at first assumed were my own. Upon f...

Make sure member names aren't mistake... was committed by Repository at 9:23 AM
19 Resource routes with :path_name and :member was updated
  • Repository
    • State changed from new to resolved
    by Repository at 9:23 AM

    (from [e6a3ce3392812f707b78d64ffb04ee52f4517d20]) Make sure member names aren't mistakenly set to nil when providing :path_names

    [#19 state:resolved]

    Signed-...

Fix include? on has_many collections ... was committed by Repository at 9:23 AM
18 Efficient include breaks when using finder_sql was updated
  • Repository
    • State changed from new to resolved
    by Repository at 9:23 AM

    (from [b6aa0e13b4e590b82550a6464924f431e57229df]) Fix include? on has_many collections with finder_sql to fall back to Array include? rather than try to use SQ...

23 validates_uniqueness_of doesn't escape attributes was updated
  • Michael Koziarski
    Michael Koziarski commented at 9:23 AM

    Yeah, this looks good to go if you could switch it to use quote_column_name instead of the table name, and upload the two patches into a single patch file. Fo...

34 attr_readonly not set when counter_cache set to true was updated
  • Michael Koziarski
    Michael Koziarski commented at 9:15 AM

    Could you add the tests to the .patch you've attached please? Two style issues

    
    if (reflection.klass rescue nil) and reflection.klass.respond_to?(:attr_read...
15 Doc for ActionController::Resources::Resource.resources was updated
30 Add unique index test fails on sqlite2 was updated
  • Michael Koziarski
    • State changed from new to resolved
    by Michael Koziarski at 3:25 AM
  • Repository
    Repository commented at 3:25 AM

    (from [ae51013c3f7b8a8579fcb99d889ed80e9dd75797]) Provide data for the key column otherwise adding a unique index will fail. [#30 state:closed]

    http://github....

Provide data for the key column other... was committed by Repository at 3:25 AM
41 ActiveRecord::Base#has_errors? was updated
  • RSL
    RSL commented at 1:51 AM

    Adding patch. [I thought I just did that.]

  • RSL
    RSL created the ticket at 1:48 AM

    I really hate typing unless @foo.errors.blank? when I really mean if @user.has_errors? and thought this might make a good patch on Rails. Calling #invalid? act...

Tuesday, April 22 2008
39 Add blocks to AR create and update was created
  • Adam Meehan
    Adam Meehan created the ticket at 11:24 PM

    This patch adds the block syntax to the ActiveRecord class methods create and update.

    For example it allows this:

    @person = Person.create(params[:person]) do...
15 Doc for ActionController::Resources::Resource.resources was updated
  • Chris Lloyd
    Chris Lloyd commented at 11:21 PM

    OK:

    http://github.com/chrislloyd/rai...

    I was just using the example given in the CHANGELOG, but you were right about it being incorrect. I've modified it so...

  • Xavier Noria
    Xavier Noria commented at 10:58 AM

    Looks like the example is not valid:

    actionpack/lib/action_controller/routing/builder.rb:104:in `assign_route_options': Regexp anchor characters are not allow...

38 PostgreSQL: use template1 database on rake:db_(create|drop) was created
  • Pete Deffendol
    Pete Deffendol created the ticket at 11:07 PM

    Currently the rake:db_create and rake:db_drop tasks will connect to the PostgreSQL server with a nil database, which causes PostgreSQL to look for a database w...

37 Tell git to ignore generated documentation was updated
  • Tim Pope
    Tim Pope commented at 10:59 PM

    Yeah this one's a no brainer. +1

  • Sam Granieri
    Sam Granieri created the ticket at 10:52 PM

    I ran rake rdoc in the root level of my locally cloned fork of the rails repository, did some work, and then ran git status. I'd rather not be asked by git to ...

36 freeze_edge_version was updated
  • josh
    josh commented at 9:47 PM

    I think I found the correct author info. Next time try using git format patch so it includes your name and email.

  • Repository
    • State changed from open to resolved
    by Repository at 9:44 PM

    (from [bf1b1e0925085811f0b58bb4093e678438ea0236]) Rails Edge info returns the latest git commit hash [#36 state:resolved]

    Signed-off-by: Joshua Peek

    http://...

  • josh
    • Assigned user set to josh
    • State changed from new to open
    by josh at 9:37 PM

    The hash still seems rather useless but its better than unknown.

  • Francesc Esplugas
    Francesc Esplugas created the ticket at 3:10 PM

    `script/about` returns unknow as Edge Rails Version.

    I've updated the `module Info` to use git as the default SCM.

Rails Edge info returns the latest gi... was committed by Repository at 9:44 PM
35 Added Hash#only for picking out specific attributes was updated
  • Rick
    • State changed from new to invalid
    by Rick at 8:54 PM
  • Brandon Keepers
    Brandon Keepers commented at 7:07 PM

    Doh, didn't even look for it under that name. Ok, ignore this ticket.

  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 5:46 PM

    Take a look at Hash#slice in ActiveSupport (slice.rb) :) I think someone opened a similar ticket with patch in Trac before. Personally, I prefer #only but well...

  • Brandon Keepers
    Brandon Keepers created the ticket at 2:35 PM

    I've added Hash#only (opposite of Hash#except) for picking specific attributes out of a hash:

    {:a => 1, :b => 2, :c => 3}.only(:a, :c)
    

    http://github.com/bra...

33 AssociationsPreload casts foreign keys to integers was updated
  • Frederick Cheung
    Frederick Cheung commented at 3:30 PM

    Exactly. If you look at the old eager loading code it basically did that.

  • Chris Hapgood
    Chris Hapgood commented at 3:28 PM

    Ahhh... I think I see where you are going with this. Casting _parent_record_id to a string (and everything it's compared to) would not lose any fidelity incom...

  • Frederick Cheung
    Frederick Cheung commented at 2:44 PM

    Not everywhere, just for the bits in association preload where it's trying to match up records to their owners. I'll give it a go and see if it works

  • Chris Hapgood
    Chris Hapgood commented at 2:32 PM

    Frederick,

    I love you man, but I just don't think that would work. It would require unprecedented Ruby fu to always pull off the "123" == 123 when comparing ...

  • Frederick Cheung
    Frederick Cheung commented at 2:27 PM

    Could we not go the other way and assume all keys are strings ?

2 earlier changes…
  • Chris Hapgood
    Chris Hapgood commented at 2:10 PM

    Frederick,

    I tried to find you online yesterday to discuss this as I saw your name all over the patch.

    I don't think it's a quoting problem. I think it is a...

  • Frederick Cheung
    Frederick Cheung commented at 12:23 AM

    Are you running afoul of a (lack of) quoting problem? I've got that on my todo list.

2 rake rails:freeze:edge on windows was updated
  • John Barnette
    • Title changed from [PATCH] rake rails:freeze:edge on windows to rake rails:freeze:edge on windows
    by John Barnette at 8:25 AM
12 Bounded params in find(...:from) was updated
  • John Barnette
    • Title changed from [PATCH] bounded params in find(...:from) to Bounded params in find(...:from)
    by John Barnette at 8:25 AM
26 Fix for change_column :null => true in migrations was updated
  • John Barnette
    • Title changed from [PATCH] Fix for change_column :null => true in migrations to Fix for change_column :null => true in migrations
    by John Barnette at 8:24 AM
34 attr_readonly not set when counter_cache set to true was created
  • Herryanto Siatono
    Herryanto Siatono created the ticket at 7:38 AM

    Due to the class loading feature in Rails, a model class with counter_cache could be loaded before its associated class, which may cause attr_readonly for "[mo...

2.x was created by Jeremy Kemper at 3:07 AM
 
4 of 1515 tickets remain in this milestone
2.0.3 was created by Jeremy Kemper at 3:06 AM
 
0 of 3 tickets remain in this milestone
2.1.1 was created by Jeremy Kemper at 3:06 AM
 
0 of 52 tickets remain in this milestone
Monday, April 21 2008
31 Use schema.rb for AR's unit test for all databases was updated
  • Frederick Cheung
    Frederick Cheung commented at 11:32 PM

    patch with schema specific schema.rb files.

  • Frederick Cheung
    Frederick Cheung commented at 11:11 PM

    The change to the adapter is because of http://www.postgresql.org/docs/8... and if my reading of that is correct, probably should have been like that all along...

  • Michael Koziarski
    • Assigned user set to Michael Koziarski
    by Michael Koziarski at 10:40 PM

    There's a change to the postgresql adapter that I don't quite follow. Is it meant to be in this change?

    The only other thought I had was perhaps we could put...

8 Fixture caching does not work with prefixed/suffixed tables was updated
6 ActiveResource::Connection should rescue from Timeout::Error was updated