mercredi 1 avril 2015

Ruby on Rails .html.erb file not created

I recently began working with Ruby on Rails.


I'm familiar with the MVC concept and using RubyMine as editor. But I'm probably missing something, because when I generated controller via Run Rails Generator, I added Destination Folder to the controller (because I wanted to create special folder for the UI pages, that won't be in the DB and are only used for the front-end). The problem is, that there is no .html.erb file created in the assets/views, just the folder from the Destination folder.


Good to mention, that database entities are created via scaffolding and are already in the folders: controllers and views.


Also, I will use this opportunity, to ask for good tips for generating that HTML and CSS front-end pages directly in Rails, because I've mostly worked on back-end in this technology.


Thank you in advance.


Aucun commentaire:

Enregistrer un commentaire