# Inherited\_resources e inherited\_resources\_views

**URL:** <https://www.ruby-forum.com/t/inherited-resources-e-inherited-resources-views/208226>\
**Category:** IT\
**Created:** [June 12, 2011, 8:33pm UTC](https://www.ruby-forum.com/t/inherited-resources-e-inherited-resources-views/208226 "2011-06-12T20:33:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [June 12, 2011, 8:33pm UTC](https://www.ruby-forum.com/t/inherited-resources-e-inherited-resources-views/208226/1 "2011-06-12T20:33:01Z")

</div>

Qualcuno usa queste gem e le trova utili?  
Le sto provando, ho notato che se non e’ definito il layout, nel  
controller che usa inherited resources, non viene usato  
application.html.erb come default ma viene richiesto un file di layout  
che abbia lo stesso nome dell’applicazione.  
Ho un’app che si chiama albo, tutti i controller usano inherited  
resources tranne alcuni.  
Quello che non usano inherited resources chiamano application.html.erb  
come layout mentre quelli che usano inherited resources mi dicono  
“template missing…” e viene risolto solo se creo un layout col  
nome albo.html.erb.  
Strano ma e’ cosi’.  
Vi risulta?
