David Verhasselt - Different Ways to Set Attributes in ActiveRecord - 0 views
-
update
-
attribute will be marked as dirty and the change will not be sent to the database yet
-
will change the attribute in the model and pass it straight to the database, without running any validations
- ...9 more annotations...
The Rails Command Line - Ruby on Rails Guides - 0 views
-
rake --tasks
-
Think of destroy as the opposite of generate.
-
runner runs Ruby code in the context of Rails non-interactively
- ...28 more annotations...
Active Record Migrations - Ruby on Rails Guides - 0 views
-
a convenient way to alter your database schema
-
each migration as being a new 'version' of the database
-
On databases that support transactions with statements that change the schema, migrations are wrapped in a transaction
- ...14 more annotations...
Setup ProxySQL for High Availability (not a Single Point of Failure) - Percona Database... - 0 views
-
ProxySQL doesn’t natively support any high availability solution
-
most common solution is setting up ProxySQL as part of a tile architecture, where Application/ProxySQL are deployed together.
-
If we have 400 instances of ProxySQL, we end up keeping our databases busy just performing the checks.
- ...5 more annotations...
Introduction to MongoDB - MongoDB Manual - 0 views
-
MongoDB is a document database designed for ease of development and scaling
-
MongoDB offers both a Community and an Enterprise version
-
A record in MongoDB is a document, which is a data structure composed of field and value pairs.
- ...12 more annotations...
How Percona XtraBackup Works - 0 views
-
Percona XtraBackup is based on InnoDB‘s crash-recovery functionality.
-
it performs crash recovery on the files to make them a consistent, usable database again
-
InnoDB maintains a redo log, also called the transaction log. This contains a record of every change to InnoDB data.
- ...14 more annotations...
Building a RESTful API in a Rails application - 0 views
-
designing and implementing a REST API in an intentionally simplistic task management web application, and will cover some best practices to ensure maintainability of the code.
-
each individual request should have no context of the requests that came before it.
-
each request that modifies the database should act on one and only one row of one and only one table
- ...10 more annotations...
PouchDB, the JavaScript Database that Syncs! - 0 views
-
" PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser. PouchDB was created to help web developers build applications that work as well offline as they do online. It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login."
GeoNames - 0 views
graemedouglas/LittleD - 0 views
Active Record Callbacks - Ruby on Rails Guides - 0 views
-
Active Record provides hooks into this object life cycle so that you can control your application and its data.
-
Callbacks allow you to trigger logic before or after an alteration of an object's state.
-
Callbacks are methods that get called at certain moments of an object's life cycle.
- ...42 more annotations...
‹ Previous
21 - 40 of 126
Next ›
Last »
Showing 20▼ items per page