21 April 2014

The Ruby Reflector

Topic

GH

  Source Favicon
By jonleighton of Riding Rails - home over 2 years ago.
Email

Jon Leighton

Fix bug with referencing other mysql databases in set table name. GH 3690

Fix performance bug with mysql databases on a server with lots of other databses. GH 3678

Christos Zisopoulos and Kenny J

Railties:

New apps should be generated with a sass-rails dependency of 3.1.5, not 3.1.5.rc.2

As ever, you can see a full list of changes on Github.

weblog.rubyonrails.org Read
  Source Favicon
By jonleighton of Riding Rails - home over 2 years ago.
Email

…in the wrong queries when using nested through associations, this probably solves your problems. GH # 3271

Jon Leighton

If a record is removed from a has_many :through, all of the join records relating to that record should also be removed from the through association's target.

Jon Leighton

Fix adding multiple instances of the same record to a has_many :through. GH # 3425

Jon Leighton

Fix creating records in a through association with a polymorphic source type. GH

weblog.rubyonrails.org Read
  Source Favicon
By drbrain of Segment7 almost 3 years ago.
Email

Fix handling of Meta Refresh with relative paths. GH #39

Mechanize:: CookieJar now supports RFC 2109 correctly. GH #85

Fixed typo in EXAMPLES.rdoc. GH #74

The base element is now handled correctly for images. GH #72

Image buttons with no name attribute are now included in the form's button list. GH#56

Improved handling of non ASCII-7bit compatible characters in links (only an issue on ruby 1.8). GH #36, GH #75

Loading cookies.txt is faster. GH #38 …

blog.segment7.net Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 3 years ago.
Email

Hi Giles,

Here are two ways which should get rid of GH's activity feed :

- a user-defined stylesheet to set display:none on the feed's root element (div.news)

- a user-defined javascript, using defunkt/dotjs , to remove the feed from the DOM.

E.g. for the second way:

$ cat ~/.js/github.com.js

$( 'div.news').hide()

Cheers,

Andy

gilesbowkett.blogspot.com Read
  Source Favicon
By jarkko of jlaine.net over 3 years ago.
Email

…Restoration and Endurance Exercise Performance .

4 Van Cauter et al: Reciprocal interactions between the GH axis and sleep .

5 Weissblut: Healthy Sleep Habits, Happy Child .

6 Gotta love research made by Lenny Kravitz.

jlaine.net Read
  Source Favicon
By Trevor Turk of Trevor Turk over 4 years ago.
Email

[This Hacker News thread has some more detail from EY and GH. EY couldn't afford to continue with the preexisting arrangement, so GH is moving to Rackspace.]

Tornado Web Server

Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. The FriendFeed application is written using a web framework that looks a bit like web.py or Google's webapp, but with additional tools and optimizations to take advantage …

almosteffortless.com Read
  Source Favicon
By jonleighton of Riding Rails - home over 2 years ago.
Email

…" ActiveRecord::Persistence#touch should not use default scope" ( GH # 1519)

Psych errors with poor yaml formatting are proxied. Fixes GH # 2645 and GH # 2731

Fix ActiveRecord#exists? when passsed a nil value

Active Resource:

No changes

Active Support:

No changes

Railties:

Updated Prototype UJS to lastest version fixing multiples errors in IE [ Guillermo Iguaran]

As ever, you can see a full list of commits between the versions on Github

weblog.rubyonrails.org Read
  Source Favicon
By spastorino of Riding Rails - home over 2 years ago.
Email

Don't require a DB connection when loading a model that uses set primary key. GH # 2807.

[ Jon Leighton]

Fix using select() with a habtm association, e.g. Person.friends.select(:name). GH # 3030 and # 2923.

[ Hendy Tanata]

Fix belongs_to polymorphic with custom primary key on target. GH # 3104.

[ Jon Leighton]

CollectionProxy#replace should change the DB records rather than just mutating the array. Fixes # 3020.

[ Jon Leighton]

LRU cache in mysql and sqlite …

weblog.rubyonrails.org Read
  Source Favicon
By spastorino of Riding Rails - home over 2 years ago.
Email

Don't require a DB connection when loading a model that uses set primary key. GH # 2807.

[ Jon Leighton]

Fix using select() with a habtm association, e.g. Person.friends.select(:name). GH # 3030 and

2923.

[ Hendy Tanata]

Fix belongs_to polymorphic with custom primary key on target. GH # 3104.

[ Jon Leighton]

CollectionProxy#replace should change the DB records rather than just mutating the array. Fixes # 3020.

[ Jon Leighton]

LRU cache in mysql and sqlite …

weblog.rubyonrails.org Read
  Source Favicon
By spastorino of Riding Rails - home over 2 years ago.
Email

…'eager_load' in a default scope and including the default scoped model in a nested through association. ( GH # 2834.) [ Jon Leighton]

Ensure we are not comparing a string with a symbol in HasManyAssociation#inverse updates counter_cache?. Fixes GH # 2755, where a counter cache could be decremented twice as far as it was supposed to be.

[ Jon Leighton]

Don't send any queries to the database when the foreign key of a belongs_to is nil. Fixes GH # 2828. [ Georg Friedrich…

weblog.rubyonrails.org Read