Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ruby on rails for static websites [closed]

I have been using Ruby on Rails for a while now and I'm really comfortable with it.

Lately I've also been using rails for simple static websites that consist of about 10 pages and some form handlers & mailers.

Now I'm wondering the following:

  1. Is it overkill to use Rails for such sites with regards to memory usage?
  2. What would be the cons for using Rails for such websites?
  3. What would you guys suggest as an alternative?

I thank you all in advance for your replies.

Regards

like image 329
SolidHan Avatar asked Jan 23 '26 11:01

SolidHan


1 Answers

One of the most important aspects of web design is the ability to expand/update/read the code. If you're most comfortable in RoR, use RoR. It's not overkill, especially because you can get extremely good test coverage with such a small website. If you or any person that inherits the website ever wants to add model code, it would be extremely easy.

BTW, I would highly suggest checking out the high voltage gem from thoughtbot. Very good for hosting static pages.

like image 61
kddeisz Avatar answered Jan 25 '26 10:01

kddeisz