Amit Jain
2008-Feb-18 07:39 UTC
[Instantrails-users] include single page in mulitple pages
Hello All, I have installed InstantRails-2.0-win and configured with SQL server DB. I have a requirement as follows. I have pages like BodyBanner which I would like to have on each page. So is it possible to have a single entry of this page and call this page on different pages. Since changing in one file is better than changing all the pages. Please let me know how I can achieve this. Regards, Amit Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080217/7d05aa1f/attachment.html
David Morton
2008-Feb-18 14:04 UTC
[Instantrails-users] include single page in mulitple pages
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 18, 2008, at 1:39 AM, Amit Jain wrote:> Hello All, > > I have installed InstantRails-2.0-win and configured with SQL server > DB. I have a requirement as follows. I have pages like BodyBanner > which I would like to have on each page. So is it possible to have a > single entry of this page and call this page on different pages. > Since changing in one file is better than changing all the pages. > Please let me know how I can achieve this. >Of course there is - and there''s probably several ways to do it. You could use helper methods, partials... You''d probably get more help by asking on the rails mailing list since it''s not an instantails specific question. David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHuZCKUy30ODPkzl0RAsbtAKCFqgUyMX2fMgtweuuLoQ/USbBEIgCfTDWa /NoDuGzjF2/KqDppJImWlw0=dFWF -----END PGP SIGNATURE-----
Amit Jain
2008-Feb-19 05:22 UTC
[Instantrails-users] include single page in mulitple pages
Hello David, Thanks for the reply. I will ask on rails mailing list. Can you please send me someusefull links for Instant Rails. Regards, Amit Jain -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of David Morton Sent: Monday, February 18, 2008 7:35 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] include single page in mulitple pages -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 18, 2008, at 1:39 AM, Amit Jain wrote:> Hello All, > > I have installed InstantRails-2.0-win and configured with SQL server > DB. I have a requirement as follows. I have pages like BodyBanner > which I would like to have on each page. So is it possible to have a > single entry of this page and call this page on different pages. > Since changing in one file is better than changing all the pages. > Please let me know how I can achieve this. >Of course there is - and there''s probably several ways to do it. You could use helper methods, partials... You''d probably get more help by asking on the rails mailing list since it''s not an instantails specific question. David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHuZCKUy30ODPkzl0RAsbtAKCFqgUyMX2fMgtweuuLoQ/USbBEIgCfTDWa /NoDuGzjF2/KqDppJImWlw0=dFWF -----END PGP SIGNATURE----- _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users