I just discovered that there isnt a default directory assets/images
when I generate a Rails 4 app (Rails 4 rc1 currently). Whereas in Rails 3.1/3.2 its generated. Please tell me why is that so? I mean I can create a directory in a second, but thats not the point. If I didnt get the reason for this on any announcement I am sorry, otherwise it makes no sense to me. Thank you
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Just found out myself that there's no index.html in public any more either because it's done dynamically in Rails 4 there's no image anymore, so the directory might not get generated any longer generate 'app/assets/images' directory when creating new rails app