- В папке
app/assets/images/pictures
должны лежать картинки. - В базе в таблицах
images
иthemes
должны быть данные. В полеfile
таблицыimages
должны быть названия файлов картинок. - В файле
config/initializers/assets.rb
должна быть строчка:Rails.application.config.assets.paths << Rails.root.join('assets', 'images', 'pictures')
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.stepic.java.module4.logdemo; | |
import java.util.logging.*; | |
import java.util.Arrays; | |
/** | |
* Created by vitaly on 28/09/16. | |
*/ | |
public class LogDemo { | |
private static final Logger LOGGER = Logger.getLogger(LogDemo.class.getName()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.stepic.java.shapes; | |
/** | |
* Created by vitaly on 24/09/16. | |
*/ | |
public class Circle extends Shape { | |
private final Point center; | |
private final double radius; | |
public Circle(Point center, double radius, Color color) { |