Karel Minařík wrote:
> you may want to look at discussion @
> http://blog.hasmanythrough.com/2008/4/2/simple-pages
>
> Re: your question: no, you'd definitely don't create "ContactInfo"
> controller -- probably a Pages controller like the Josh Susser's (or
> similar) solution.
Finally... thank
The page that loads when no controller name is given in the URL is the
public/index.html page (eg: http://localhost:3000/)
Now this is a pure HTML page so I cannot use any link_to tags or yield
tags, etc.
My navigation bar is in my application layout
(app/views/layouts/application.html.erb). Th
Phlip wrote:
> Because a clean design typically falls into three layers, you don't need
> to
> guess, before coding, what the design should be. Write what you need,
> based on
> the behaviors you add to each page. Refactor towards DRY, and you will
> have the
> right things in the right layers,
>
> Always remember that once you carve your design into stone, you can
> never change
> it. So make sure you get the design right before you start carving!
>
> (This is a winkie: ;^)
That's why I'm posting this thread.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
I'm fairly new to rails but I've read a book, many tutorials and watched
video lectures so I'm starting to get a hang of how it works.
I've now decided to jump in and create a rails app from scratch. I'm a
little confused when it comes to going from concept to implementation
using MVC. I unders
Hello,
In my application.html.erb layout I have a reference to a .swf (flash
movie) file that I want to embed. I put the swf file in the
"public/flash" directory (I created the "flash" folder).
My question is how do I get a reference to the "public" folder that
rails created from within a view
6 matches
Mail list logo