Commit graph

13 commits

Author SHA1 Message Date
35510212ba Added package pagination using kaminari 2013-08-10 15:03:31 +02:00
9b9a4c7566 Removing crap 2013-08-08 23:14:28 +02:00
fca503df55 Order in building up the SQL query fixed 2013-08-08 21:49:46 +02:00
47b3253de3 Removed old useless code that was commented-out anyway. 2013-08-08 20:32:52 +02:00
950d48883c Using PostgreSQL's fulltext search feature 2013-08-08 20:23:01 +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
88dfb33721 Return results for packages only with screenshots.
Currently the packages controller is not working well. The JOIN is not
the best way apparently as the 'description' column exists for both the
"packages" and the "screenshots" table. So another way to query for
the data needs to be found.
2013-08-06 23:36:48 +02:00
31569ddd45 Improved data search query to match for results of any case 2013-08-06 22:34:48 +02:00
f26f8a425b Moved default page to "packages" controller.
Using a partial template to render search results.

Show packages by default even without a query.
2013-07-27 13:12:29 +02:00
acd47f66d7 Fulltext search for packages works 2013-07-27 01:48:01 +02:00
c2a695aec0 Packages controller added 2013-07-27 01:23:28 +02:00
f28c637d10 Welcome controller added
Can be used for main index, about page etc.
2013-07-27 01:23:08 +02:00
3af24f56dc Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00