Kaan Karaca
2005-Jun-10 11:27 UTC
Will Rails 1.0 use "render(:layout => false)" or "render_without_layout"?
Hi I currently reading and experimenting with the depot application from the 2''nd release of "Agile Web Development with Rails" book. I''m not sure if it''s a mistake in the book or the "new way" of Rails 1.0. Wich version will be deprecated(?) "render_without_layout" od "render(:layout => false"? Bye derKaan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005
Michael Campbell
2005-Jun-10 12:16 UTC
Re: Will Rails 1.0 use "render(:layout => false)" or "render_without_layout"?
render_without_layout will be the deprecated one. But it''s still the one to use in trunk rails, I think. On 6/10/05, Kaan Karaca <email-5nOTh4PAjpOELgA04lAiVw@public.gmane.org> wrote:> Hi > > I currently reading and experimenting with the depot application from the > 2''nd release of "Agile Web Development with Rails" book. I''m not sure if > it''s a mistake in the book or the "new way" of Rails 1.0. Wich version will > be deprecated(?) "render_without_layout" od "render(:layout => false"? > > Bye > derKaan > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005 > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005 > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Thomas Fuchs
2005-Jun-10 12:32 UTC
Re: Will Rails 1.0 use "render(:layout => false)" or "render_without_layout"?
See http://dev.rubyonrails.org/file/trunk/actionpack/CHANGELOG?rev= 1350 Am 10.06.2005 um 14:16 schrieb Michael Campbell:> render_without_layout will be the deprecated one. But it''s still the > one to use in trunk rails, I think. > > On 6/10/05, Kaan Karaca <email-5nOTh4PAjpOELgA04lAiVw@public.gmane.org> wrote: > >> Hi >> >> I currently reading and experimenting with the depot application >> from the >> 2''nd release of "Agile Web Development with Rails" book. I''m not >> sure if >> it''s a mistake in the book or the "new way" of Rails 1.0. Wich >> version will >> be deprecated(?) "render_without_layout" od "render(:layout => >> false"? >> >> Bye >> derKaan >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005 >> >> >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 08.06.2005 >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >