Commit graph

11 commits

Author SHA1 Message Date
fafc3295df Fixed path to screenshots 2014-11-30 16:05:57 +01:00
19a5ce81a5 Recoverd methods for Screenshot model 2014-11-23 19:55:43 +01:00
87f545414f Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation
Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color
Moved old files out of the way (renamed them to xx*)
Welcome controller (/) works
Moved templates from ERB to SLIM format
Fixed database settings
Reduced routes to working ones
Tidied up Gemfile
Checked in experimental lab files

Tried to find a good description for this massive commit :)
2014-11-16 18:26:03 +01:00
a7e05b2b78 Using the "images_path_prefix" configuration variable in the Package model 2013-11-20 21:21:16 +01:00
a5b31a2dcc Fixed eager loading of packages/screenshots 2013-08-21 23:24:07 +02:00
d6c5508fdd Fixed use of default scope for Rails 4.x 2013-08-21 22:56:22 +02:00
9b9a4c7566 Removing crap 2013-08-08 23:14:28 +02:00
856b43d067 Sorting screenshots from new to old by default 2013-08-07 22:07:15 +02:00
78b8f594af Enforce eager loading of backreferencing to avoid wasteful SQL queries 2013-08-07 21:37:14 +02:00
76d19f7e78 Unsuccessful attempt to properly eager load screenshots.
Currently the virtual attribute "image_url" in the screenshots model
apparently runs one SQL query each to get the packages data.
2013-08-07 00:18:20 +02:00
b62c799ee8 Added image_url method for Screenshot model 2013-08-06 22:35:42 +02:00