AjaxScaffold 3.1.1 released
Posted by Richard White Fri, 21 Apr 2006 13:55:27 GMT
AjaxScaffold has been deprecated in favor of ActiveScaffold
- Fix for some problems with autodiscovery of :eval and :sort_sql in ScaffoldColumn. Thanks to Eden and David for your work on this issue.
- Improved the code in def component to better handle invalid sort values in the session. I had a number of people contact me in a panic because no matter what they did they got an error about evaluating nil.sort_sql because…
Basically the sorting stuff is saved into your session and RoR sessions (unlike ones from most other applications) default to being long lived, ie they have no expiration date. At some point you looked at that scaffold when the default sort was “id” and that was stored into your session. Then subsequent visits, even after the new scaffold was generated, were still finding that your stored session sort was “id” which was a valid sort parameter in 3.0 but not in 3.1.
Anyways that should all be fixed now.
Just a reminder that you need to add a link to this post on the Documentation page over at ajaxscaffold.com—As always thanks for all the hard work!
wh00ps! Thanks