Quantcast
Channel: FeedBunch:72746f1d36ee27cbb60245a53b05a279a371e279 commits
Browsing all 38 articles
Browse latest View live
↧

Added index to the EntryState table.

It will be used when retrieved a page of entries, thank to the denormalization of including the published attribute in the EntryState model.

View Article


When retrieving paginated entries, set SQL order conditions on entry_states t...

This should help the database choose an execution query that gets results from entry_states as soon as possible, avoiding nested loops with entries. For the moment the entry creation datetime is no...

View Article


Added "entry_created_at" attribute to EntryState model.

Also included it in the entry_states table index which I expect will be used when retrieving paginated entries.

View Article

Added validations, default value and unit test for the entry_created_at...

Added validations, default value and unit test for the entry_created_at attribute of the EntryState model.

View Article

Use the EntryState entry_created_at attribute to order entries, when...

Use the EntryState entry_created_at attribute to order entries, when retrieving unread entries from a feed or folder (including the "all subscriptions" special folder). The ordering priority is: -...

View Article


Use find_each instead of each to update all EntryState instances during migra...

Trying to use "EntryState.all.each" means rails attempts to instantiate all EntryState objects, which will give an outofmemory error and the kernel will kill the ruby process. Using...

View Article

Add columns and give them value in different migrations, to avoid errors.

View Article

Fixed migration names.

View Article


Fixed migrations.

The migrations I'm trying to apply use the EntryState model. In its current state it makes reference to the new "published" and "entry_created_at" attributes. This means that for the deployment to run...

View Article


Fix migration.

The current value for the already existing records in entry_states table for the new published and entry_created_at columns is set with a raw SQL update, instead of using ActiveRecord. Using AR is too...

View Article

Performance improvement when retrieving unread entries.

When retrieving unread entries, we already know that all entries in the list will be unread (it is guaranteed by the queries that get them from the DB). Therefore the step of looking at entry_states...

View Article

Updated MRI ruby version 2.2.1 -> 2.2.2

View Article

Included aws-sdk-rails gem, which pulls v2 of aws-sdk.

Version 2 of aws-sdk introduces changes that break backward compatibility, so some changes will be necessary.

View Article


WIP: Migrate S3Client to the new aws-sdk v2 API.

View Article

Adapted to version 2 of aws-sdk gem, with a new API non-backwards compatible.

View Article


Updated capistrano-rails 1.1.2 -> 1.1.3

View Article

Updated pghero gem 0.1.10 -> 1.0.1

View Article


Updated puma gem 2.11.1 -> 2.11.2

View Article
Browsing all 38 articles
Browse latest View live