On Fri, Feb 15, 2013 at 8:13 PM, xscr...@gmail.com <xscr...@gmail.com> wrote:
> I am building a small website. I want to have a scrolling window of news
> headlines, where you click on the headline and a page with a copy of the
> press release get s displayed.
>
> I don't want to run a db, so is there anyway to predefine the relationships
> between headline and the text file?

Assuming you mean you want a file based data store, yes, quite
possible. You can store the text files in a directory, and when your
application runs, it can scan the files and build a link in your web
page that will cause your web application to then display the
appropriate file, while still keeping the look and feel of your site.

I'd personally not do the whole Rails thing for something like this;
you might look at Sintra or Merb instead.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to