Hi Chris, Looks like that line was added in Changeset 576 (Nov 6, 2007):
http://dev.radiantcms.org/radiant/changeset/576#file8 If you generated your instance before that, that change won't be reflected. -Andrew On Jan 19, 2008 12:11 AM, Chris Parrish <[EMAIL PROTECTED]> wrote: > Andrew O'Brien wrote: > > Ugh, now I can't replicate with edge... I must have been mistaken. > > > > And ignore what I said about Rails 2.0... looking in svn, I see that > > the Rails 2.0 upgrade is in a different branch. > > > > In any event, the only other thing I'd suggest to you Chris, is to > > check your environment.rb and make sure it has something like this > > (should be near the bottom): > > > > ActionView::Base.field_error_proc = Proc.new do |html, instance| > > %{<div class="error-with-field">#{html} <small class="error">• > > #{[instance.error_message].flatten.first}</small></div>} > > end > > > > -Andrew > > Well, you may have hit on it Andrew. If I look at my project with > radiant installed in the /vendor directory, I see the code you mention in: > /vendor/radiant/config/environment.rb > > but not at: > /config/environment.rb > > And adding the code to the /config/environment.rb seems to fix it. So > can anyone explain why these versions are different (and if it's > actually a Radiant issue)? (Actually there are more differences in > these files than just this one but most of the others seem explainable). > > And I might consider trying to write a patch but I don't even know what > I'm trying to patch -- a rake task maybe? Nor am I sure what kind of > testing that would require. Can anyone on core offer some insight here? > > > -Chris > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
