respond_to API
Kevin Williams
kevwil at gmail.com
Fri Nov 2 10:33:01 EDT 2007
Everything seems smooth so far, but I've only got one (restful)
controller so far. I do have about a dozen view files which needed
renaming, but that wasn't too bad.
I'm not complaining - this is life on the edge, things will break. I'm
looking forward to the next release.
On 11/2/07, Michael D. Ivey <ivey at gweezlebur.com> wrote:
> On Nov 2, 2007, at 7:19 AM, Kevin Williams wrote:
> > http://merb.devjavu.com/changeset/795
> >
> > crossing_fingers.do
> > ::Manually.refactor_controllers
> > views.each {|v| mv "#{v.name}.#{v.extension}"
> > "#{v.name}.#{v.format}.#{v.extension}"}
> > end
> >
> > I got one controller refactored, and the html format didn't break yet,
> > so we'll see how the :xml and :json formats go.
>
> For the record, I didn't *have* to drop the legacy template names,
> but Ez wanted me to get it in the same changeset so everything broke
> at once.
>
> HTML-only apps will probably not notice, other than the template rename.
>
> respond_to based apps will be a little harder, but really shouldn't
> be too tough.
>
> If anyone runs into trouble converting, hit me up on IRC, or on the
> Mailing List, or the Google Group, or in Charlotte Saturday...I'll be
> more than happy to help.
> _______________________________________________
> Merb-devel mailing list
> Merb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/merb-devel
>
--
Cheers,
Kevin Williams
http://kevwil.com/
http://www.almostserio.us/
http://kevwil.jaiku.com/
More information about the Merb-devel
mailing list