Posted By: Doug Chasman
Date: 2006-02-25 07:21
Summary: activesalesforce-0.3.0 fixes a nasty bug
Project: ActiveSalesforce

The most important fix included in 0.3.0 is:

[#3586] Works OK first request, error on reload

http://rubyforge.org/tracker/index.php?func=detail&aid=3586&group_id=1201&atid=4729

that was caused by Rails' development config behavior where it reloads ActiveRecord::Base subclasses at certain times to "refresh" the class and pick up any changes you might be making during dev (keeps you from having to constantly restart webrick).

The problem is that ASF was not aware of this and only augmented the AR class the first time it gets a request to do so - along comes Rails autoreload and - wack - our bits are gone.

Hard to find - easy to fix. This is the root cause for a number of weird behaviors we have seen over the past few weeks where you get sporadic NoMethodErrors.

Fix is in activerecord-0.3.0.gem

Latest News
TZInfo::Data v1.2014.2 Released
    Philip Ross - 2014-03-25 22:32
TZInfo v0.3.39 Released
    Philip Ross - 2014-03-09 20:23
TZInfo::Data v1.2014.1 Released
    Philip Ross - 2014-03-09 20:00
Automatic Ruby 14.2.0 has been released!
    id 774 - 2014-02-26 06:23
kramdown 1.3.2 released
    Thomas Leitner - 2014-02-16 08:35

 

Forums | Admin

Discussion Forums: activesalesforce-0.3.0-fixes-a-number-of-bugs

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post