tion. Is there some reason you
wouldn't just reflect the subclasses? Is there some reason for a
factory that does nothing? Even if you need a factory, why wouldn't you
just use class methods on Site?
--
Ramon Leon
http://onsmalltalk.com
--
You received this message because you are s
success: function(data){obj.replaceWith(data);}
});
}
Jeffrey
Look closely at your function, what is the scope of the variable named
obj? Ask yourself what happens when multiple calls to replace article
are sharing a global reference to obj because you forgot to say var obj.
--
Ra
e. From this
information it then returns the incorrect state of true.
The current behavior is clearly wrong of course.
--
Ramon Leon
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to rubyonrai
ct, if the principle of least surprise means anything.
--
Ramon Leon
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, s
ont that data loss doesn't matter. You *will lose data*.
It is your application who defines what's a reasonable behavior.
Again, that's a given.
--
Ramon Leon
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" g
e user W updated one
unrelated field. User U is now very pissed.
--
Ramon Leon
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this gr
ed since the initial view.
--
Ramon Leon
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+uns
7 matches
Mail list logo