Hi, my website is developed by a webdesign office, but now I want to be able to change the website myself. I''ve knowledge about php and html but I''m new to RoR. So now I want to create a new page on our site, but I don''t know how to do this. This is what I tried: -I''ve manually wrote a controller (newsletter.rb)and placed it in the controller folder -I''ve wrote the newsletter.rhtml (in the newsletter folder that is stored in the views folder) But when I try to open the page on IE, I get a 404 error. I used the same structure that the other pages uses. I hope you can help me. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
MikeG1-F66HEGuBJ/9Wk0Htik3J/w@public.gmane.org
2008-Sep-04 23:05 UTC
Re: A few newbie questions about RoR
Without seeing the code this is just a wild guess, but the first place I''d look would be config/routing.rb. That''s the file that controls which requests go to which controllers - assuming your controller is valid, the 404 says the request never got to it. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I strongly suggest that you spend some quality time on a RoR beginners tutorial before you adventure without a clear map of where are you going. I also highly recommend to buy the Agile Web Development with Rails from David Thomas and do the tutorial on the first part. Is not that I can''t help you, is that your question is so basic, that I know you haven''t read (and practice) a basic beginners tutorial. Look for one of the many blog creation tutorial with rails also. That should give you enough knowledge to start modifying you site. Good luck! Best regards, Jorge Corona. On Sep 4, 5:18 pm, Olivier Paulus <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > my website is developed by a webdesign office, but now I want to be able > to change the website myself. I''ve knowledge about php and html but I''m > new to RoR. > So now I want to create a new page on our site, but I don''t know how to > do this. This is what I tried: > -I''ve manually wrote a controller (newsletter.rb)and placed it in the > controller folder > -I''ve wrote the newsletter.rhtml (in the newsletter folder that is > stored in the views folder) > > But when I try to open the page on IE, I get a 404 error. > I used the same structure that the other pages uses. > > I hope you can help me. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Also as a wild guess, he needs an action called as the template, as a minimum. It seems that this is the problem. (again, without looking at the code). On Sep 4, 6:05 pm, "Mik...-F66HEGuBJ/9Wk0Htik3J/w@public.gmane.org" <Larkw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Without seeing the code this is just a wild guess, but the first place > I''d look would be config/routing.rb. That''s the file that controls > which requests go to which controllers - assuming your controller is > valid, the 404 says the request never got to it.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jeffpatterson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Sep-05 00:38 UTC
Re: A few newbie questions about RoR
your controller isn''t looking for newsletter.rhtml. It''s looking for an action, such as show.rhtml. Also, if you''re using a more recent version of rails, it''s probably looking for show.html.erb (rhtml seems to be out of favor). Definitely buy the Agile Web Development book (there''s a 3rd edition in development right now--make sure you get the beta PDF of that; the 2nd edition is pretty outdated now). On Sep 4, 3:18 pm, Olivier Paulus <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > my website is developed by a webdesign office, but now I want to be able > to change the website myself. I''ve knowledge about php and html but I''m > new to RoR. > So now I want to create a new page on our site, but I don''t know how to > do this. This is what I tried: > -I''ve manually wrote a controller (newsletter.rb)and placed it in the > controller folder > -I''ve wrote the newsletter.rhtml (in the newsletter folder that is > stored in the views folder) > > But when I try to open the page on IE, I get a 404 error. > I used the same structure that the other pages uses. > > I hope you can help me. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hello Olivier,
One thing I noticed and no one else mentioned (I don''t like to
duplicate
advice unnecessarily) is your controller should be
newsletters_controller.rb not just newsletter.rb. Here is something that
should get you going (but do take the advice of getting a book, and
Agile Web Development With Rails is a good one):
app/controllers/newsletters_controller.rb
class NewslettersController < ApplicationController
def newsletter
end
end
app/views/newsletters/newsletter.html.erb
<p>
This is our newsletter!
</p>
And you should be able to see that with
http://localhost:3000/newsletters/newsletter, assuming you are running
this on your local computer by way of script/server.
Now, this is not the best way of doing things, but this should at least
get you something to say "Ah".
Peace,
Phillip
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
I''ve already read several RoR tutorials, but they are all talking about
a server that is on your local machine. And I don''t know how to use the
rails generate command on my webhosting. Or is it allowed to write the
controller manually?
@jeffpatterson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Our website is only 1 month old, and the webdesign office use .rhtml for
everything.
@Phillip
I''ve done exactly what you''ve told me but I still got the 404
error.
Here are the codes of the pages:
nieuwsbrief_controller.rb (app/controllers/nl/nieuwsbrief_controller.rb)
---------------------------------------
class Nl::NieuwsbriefController < ApplicationController
layout "nl"
def index
@menuitem = 1
@classname = "m2"
@pagetitle = "Firstlink - Nieuwsbrief"
@description = "Nieuwsbrief Firstlink"
@keywords = "nieuwsbrief"
end
end
nl.rhtml (app/views/layouts/nl.rhtml)
--------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="nl">
<head>
<title><%= @pagetitle %></title>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta name="description" content="<%= @description
%>" />
<meta name="keywords" content="<%= @keywords %>"
/>
<meta name="author" content="Firstlink bvba" />
<link rel="Shortcut Icon" type="image/ico"
href="/favicon.ico" />
<%= stylesheet_link_tag ''master'' %>
<%= javascript_include_tag "mootools-release-1.11.js" %>
<script type="text/javascript">
window.addEvent(''domready'', function(){
var accordion = new Accordion(''li.atStart'',
''ul.atStart'', {
duration: 300,
show: <%= @menuitem %>,
alwaysHide:true,
opacity: true
}, $(''accordion''));
});
</script>
<%= javascript_include_tag "datepicker_nl.js" %>
<%= javascript_include_tag "default.js" %>
<%= yield :contact %>
<% if @classname %>
<style>
.<%= @classname %> { display: block;}
</style>
<% end %>
<!--[if lt IE 7.]>
<style>
#note img, #error img { behavior: url("iepngfix.htc"); }
</style>
<![endif]-->
</head>
<body>
<div id="container">
<div id="header" class="clearfix">
<div id="header-elem">
<h1><a href="http://www.first-link.be"
title="Firstlink">Firstlink</a></h1>
<h2 id="tagline" class="nl">Uw dienstenbedrijf
voor secretariaat
en marketing</h2>
<div id="login"><%= link_to ''Login'',
:controller => ''Login''
%></div>
</div>
<div id="header-graphic"><%=
image_tag("header_graphic.jpg", :alt
=> "Firstlink") %></div>
</div>
<div id="main-body" class="clearfix">
<ul id="accordion">
<li class="toggler"><%= link_to
''Home'', :controller => ''Welkom''
%></li>
<li class="toggler atStart"><a
href="#administratie">Administratie</a></li>
<li class="close m1">
<ul class="element atStart">
<li><%= link_to ''Database entry'',
:controller =>
''Administratie'', :action =>
''database_entry'' %></li>
</ul>
</li>
<li class="toggler atStart"><a
href="#secretariaat">Secretariaat</a></li>
<li class="close m2">
<ul class="element atStart">
<li><%= link_to ''Freelance secretaresse'',
:controller =>
''Secretariaat'', :action =>
''freelance_secretaresse'' %></li>
<li><%= link_to ''Secretariaatsdiensten'',
:controller =>
''Secretariaat'', :action =>
''secretariaatsdiensten'' %></li>
<li><%= link_to ''Telefoonpermanentie'',
:controller =>
''Secretariaat'', :action =>
''telefoonpermanentie'' %></li>
<li><%= link_to ''Thuiskantoor'', :controller
=> ''Secretariaat'',
:action => ''thuiskantoor'' %></li>
<li><%= link_to ''Dictafoon transcriptie'',
:controller =>
''Secretariaat'', :action =>
''dictafoon_transcriptie'' %></li>
</ul>
</li>
<li class="toggler atStart"><a
href="#vertaling">Vertaling</a></li>
<li class="close m3">
<ul class="element atStart">
<li><%= link_to ''Vertaalwerk'', :controller
=> ''Vertaling'',
:action => ''vertaalwerk'' %></li>
<li><%= link_to ''Tolkwerk'', :controller
=> ''Vertaling'',
:action => ''tolkwerk'' %></li>
<li><%= link_to ''Verslaggeving'',
:controller => ''Vertaling'',
:action => ''verslaggeving'' %></li>
</ul>
</li>
<li class="toggler atStart"><a
href="#marketing">Marketing</a></li>
<li class="close m4">
<ul class="element atStart">
<li><%= link_to ''Mailing'', :controller
=> ''Marketing'', :action
=> ''mailing'' %></li>
<li><%= link_to ''Telemarketing'',
:controller => ''Marketing'',
:action => ''telemarketing'' %></li>
<li><%= link_to ''Televerkoop'', :controller
=> ''Marketing'',
:action => ''televerkoop'' %></li>
<li><%= link_to ''Copywriting'', :controller
=> ''Marketing'',
:action => ''copywriting'' %></li>
<li><%= link_to ''Freelance marketeer'',
:controller =>
''Marketing'', :action =>
''freelance_marketeer'' %></li>
<li><%= link_to ''Conferenties'', :controller
=> ''Marketing'',
:action => ''conferenties'' %></li>
<li><%= link_to ''Webdesign'', :controller
=> ''Marketing'',
:action => ''webdesign'' %></li>
<li><%= link_to ''Presentatie'', :controller
=> ''Marketing'',
:action => ''presentatie'' %></li>
<li><%= link_to ''Nieuwsbrief'', :controller
=> ''Marketing'',
:action => ''nieuwsbrief'' %></li>
<li><%= link_to
''Tevredenheidsenquête'', :controller =>
''Marketing'', :action =>
''tevredenheidsenquete'' %></li>
</ul>
</li>
<li class="toggler"><%= link_to
''Diensten'', :controller =>
''Diensten'' %></li>
<li class="toggler"><%= link_to ''Info
& Offerte'', :controller
=> ''Info'' %></li>
<li class="toggler"><%= link_to ''Toegevoegde
waarde'', :controller
=> ''Toegevoegde_waarde'' %></li>
<li class="toggler"><%= link_to
''Referenties'', :controller =>
''Referenties'' %></li>
<li class="toggler"><%= link_to
''Dienstverleners'', :controller =>
''Dienstverleners'' %></li>
<% if not @home %>
<li style="padding-left:15px;padding-top:20px;"><a
href="http://www.first-link.be/nl/secretariaat/freelance_secretaresse"><%=
image_tag("vertical.jpg") %></a></li>
<% end %>
</ul>
<div id="content">
<%= yield %>
</div>
<div id="twilight" class="clearfix">
<ul id="lang">
<li>Nl</li>
<li><a href="/fr"
title="Français">Fr</a></li>
<li><a href="/en"
title="English">En</a></li>
</ul>
<%= yield :welcome %>
</div>
</div>
<div id="footer" class="clearfix">
<div id="footer-content">
<div id="footer-nav">
<%= link_to ''Sitemap'', :controller =>
''Sitemap'' %> | <%= link_to
''Contacteer ons'', :controller =>
''Contact'' %>
</div>
<div id="copyright">Copyright © <%=
Time.now.year %> <a
href="http://www.first-link.be"
title="Firstlink">Firstlink</a></div>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src=''" + gaJsHost +
"google-analytics.com/ga.js''
type=''text/javascript''%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3744612-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>
index.rhtml (app/views/nl/nieuwsbrief/index.rhtml)
------------------------------------
<p>Nieuwsbrief tekst</p>
PS: Nieuwsbrief is Newsletter in dutch, these 3 pages uses exactly the
same structure as the other site pages.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
If you really want to learn it, best to do as the previous emails mentioned: buy a book or read tutorials online then, if I may add: do development on a local machine. Editing a live app isn''t recommended and it''s more difficult to see errors there. On Fri, Sep 5, 2008 at 4:42 PM, Olivier Paulus <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I''ve already read several RoR tutorials, but they are all talking about > a server that is on your local machine. And I don''t know how to use the > rails generate command on my webhosting. Or is it allowed to write the > controller manually? > > @jeffpatterson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > Our website is only 1 month old, and the webdesign office use .rhtml for > everything. > > @Phillip > I''ve done exactly what you''ve told me but I still got the 404 error. > > Here are the codes of the pages: > nieuwsbrief_controller.rb (app/controllers/nl/nieuwsbrief_controller.rb) > --------------------------------------- > class Nl::NieuwsbriefController < ApplicationController > layout "nl" > > def index > @menuitem = 1 > @classname = "m2" > @pagetitle = "Firstlink - Nieuwsbrief" > @description = "Nieuwsbrief Firstlink" > @keywords = "nieuwsbrief" > end > > end > > > nl.rhtml (app/views/layouts/nl.rhtml) > -------------------------------------- > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl"> > <head> > > <title><%= @pagetitle %></title> > > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> > <meta name="description" content="<%= @description %>" /> > <meta name="keywords" content="<%= @keywords %>" /> > <meta name="author" content="Firstlink bvba" /> > > <link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" /> > <%= stylesheet_link_tag ''master'' %> > <%= javascript_include_tag "mootools-release-1.11.js" %> > <script type="text/javascript"> > window.addEvent(''domready'', function(){ > var accordion = new Accordion(''li.atStart'', ''ul.atStart'', { > duration: 300, > show: <%= @menuitem %>, > alwaysHide:true, > opacity: true > }, $(''accordion'')); > }); > </script> > <%= javascript_include_tag "datepicker_nl.js" %> > <%= javascript_include_tag "default.js" %> > <%= yield :contact %> > > <% if @classname %> > <style> > .<%= @classname %> { display: block;} > </style> > <% end %> > > <!--[if lt IE 7.]> > <style> > #note img, #error img { behavior: url("iepngfix.htc"); } > </style> > <![endif]--> > </head> > > <body> > <div id="container"> > <div id="header" class="clearfix"> > <div id="header-elem"> > <h1><a href="http://www.first-link.be" > title="Firstlink">Firstlink</a></h1> > <h2 id="tagline" class="nl">Uw dienstenbedrijf voor secretariaat > en marketing</h2> > <div id="login"><%= link_to ''Login'', :controller => ''Login'' > %></div> > </div> > <div id="header-graphic"><%= image_tag("header_graphic.jpg", :alt > => "Firstlink") %></div> > </div> > <div id="main-body" class="clearfix"> > <ul id="accordion"> > <li class="toggler"><%= link_to ''Home'', :controller => ''Welkom'' > %></li> > <li class="toggler atStart"><a > href="#administratie">Administratie</a></li> > <li class="close m1"> > <ul class="element atStart"> > <li><%= link_to ''Database entry'', :controller => > ''Administratie'', :action => ''database_entry'' %></li> > </ul> > </li> > <li class="toggler atStart"><a > href="#secretariaat">Secretariaat</a></li> > <li class="close m2"> > <ul class="element atStart"> > <li><%= link_to ''Freelance secretaresse'', :controller => > ''Secretariaat'', :action => ''freelance_secretaresse'' %></li> > <li><%= link_to ''Secretariaatsdiensten'', :controller => > ''Secretariaat'', :action => ''secretariaatsdiensten'' %></li> > <li><%= link_to ''Telefoonpermanentie'', :controller => > ''Secretariaat'', :action => ''telefoonpermanentie'' %></li> > <li><%= link_to ''Thuiskantoor'', :controller => ''Secretariaat'', > :action => ''thuiskantoor'' %></li> > <li><%= link_to ''Dictafoon transcriptie'', :controller => > ''Secretariaat'', :action => ''dictafoon_transcriptie'' %></li> > </ul> > </li> > <li class="toggler atStart"><a > href="#vertaling">Vertaling</a></li> > <li class="close m3"> > <ul class="element atStart"> > <li><%= link_to ''Vertaalwerk'', :controller => ''Vertaling'', > :action => ''vertaalwerk'' %></li> > <li><%= link_to ''Tolkwerk'', :controller => ''Vertaling'', > :action => ''tolkwerk'' %></li> > <li><%= link_to ''Verslaggeving'', :controller => ''Vertaling'', > :action => ''verslaggeving'' %></li> > </ul> > </li> > <li class="toggler atStart"><a > href="#marketing">Marketing</a></li> > <li class="close m4"> > <ul class="element atStart"> > <li><%= link_to ''Mailing'', :controller => ''Marketing'', :action > => ''mailing'' %></li> > <li><%= link_to ''Telemarketing'', :controller => ''Marketing'', > :action => ''telemarketing'' %></li> > <li><%= link_to ''Televerkoop'', :controller => ''Marketing'', > :action => ''televerkoop'' %></li> > <li><%= link_to ''Copywriting'', :controller => ''Marketing'', > :action => ''copywriting'' %></li> > <li><%= link_to ''Freelance marketeer'', :controller => > ''Marketing'', :action => ''freelance_marketeer'' %></li> > <li><%= link_to ''Conferenties'', :controller => ''Marketing'', > :action => ''conferenties'' %></li> > <li><%= link_to ''Webdesign'', :controller => ''Marketing'', > :action => ''webdesign'' %></li> > <li><%= link_to ''Presentatie'', :controller => ''Marketing'', > :action => ''presentatie'' %></li> > <li><%= link_to ''Nieuwsbrief'', :controller => ''Marketing'', > :action => ''nieuwsbrief'' %></li> > <li><%= link_to ''Tevredenheidsenquête'', :controller => > ''Marketing'', :action => ''tevredenheidsenquete'' %></li> > </ul> > </li> > <li class="toggler"><%= link_to ''Diensten'', :controller => > ''Diensten'' %></li> > <li class="toggler"><%= link_to ''Info & Offerte'', :controller > => ''Info'' %></li> > <li class="toggler"><%= link_to ''Toegevoegde waarde'', :controller > => ''Toegevoegde_waarde'' %></li> > <li class="toggler"><%= link_to ''Referenties'', :controller => > ''Referenties'' %></li> > <li class="toggler"><%= link_to ''Dienstverleners'', :controller => > ''Dienstverleners'' %></li> > <% if not @home %> > <li style="padding-left:15px;padding-top:20px;"><a > href="http://www.first-link.be/nl/secretariaat/freelance_secretaresse"><%> image_tag("vertical.jpg") %></a></li> > <% end %> > </ul> > <div id="content"> > > <%= yield %> > > </div> > <div id="twilight" class="clearfix"> > <ul id="lang"> > <li>Nl</li> > <li><a href="/fr" title="Français">Fr</a></li> > <li><a href="/en" title="English">En</a></li> > </ul> > <%= yield :welcome %> > </div> > </div> > <div id="footer" class="clearfix"> > <div id="footer-content"> > <div id="footer-nav"> > <%= link_to ''Sitemap'', :controller => ''Sitemap'' %> | <%= link_to > ''Contacteer ons'', :controller => ''Contact'' %> > </div> > <div id="copyright">Copyright © <%= Time.now.year %> <a > href="http://www.first-link.be" title="Firstlink">Firstlink</a></div> > </div> > </div> > </div> > > <script type="text/javascript"> > var gaJsHost = (("https:" == document.location.protocol) ? > "https://ssl." : "http://www."); > document.write(unescape("%3Cscript src=''" + gaJsHost + > "google-analytics.com/ga.js'' type=''text/javascript''%3E%3C/script%3E")); > </script> > <script type="text/javascript"> > var pageTracker = _gat._getTracker("UA-3744612-1"); > pageTracker._initData(); > pageTracker._trackPageview(); > </script> > > </body> > </html> > > > index.rhtml (app/views/nl/nieuwsbrief/index.rhtml) > ------------------------------------ > <p>Nieuwsbrief tekst</p> > > PS: Nieuwsbrief is Newsletter in dutch, these 3 pages uses exactly the > same structure as the other site pages. > > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ramon Tayag --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
OK, I will buy a book and setup a development server. But can I after I''ve setup the server just simple copy the current ftp site directory directly on my server? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---