High Performance PostgreSQL for Rails (Pragmatic Bookshelf)
Hot This:
Most Active This Week

Hello @andatki ,
I ran into a problem with the migration suggested p. 75:
class AddCheckConstraintTripsCompletedAt < ActiveRecord::M...
New

Please use the following format for the title of this thread (then simply delete/replace this text with the content for the thread):
Tit...
New

@andatki
The book states:
How can we safely add UNIQUE and NOT NULL constraints to tables, though, and make sure that all rows are eve...
New

@andatki
The correct migration code for ruby/migration_snippet_virtual_column.rb is
class AlterTempCustomers < ActiveRecord::Migrati...
New

@andatki
The SCRUB_BATCHES procedure has an off-by-one bug that causes it to skip one row after each batch. Here is output showing the i...
New

The book states the following:
The main difference for domains compared with enums is that the NOT NULL constraint portion is part of t...
New
Most Active This Month
Most Active This Year

I found it challenging to use code examples from this book, particularly because the queries containing non-printing Unicode characters. ...
New

Active Record supports multiple validations becoming listed out for an
attribute.
It took me a couple of tries to understand this, may...
New

@andatki
I have encountered a couple of issues in the sections explaining the cloning of tables without constraints, copying all rows, a...
New
Most Active Last Three Years

@andatki
Hi, page 26 says
Data cannot be split across pages.
But two paragraphs later
Data may not fit in a single page, may be spl...
New

Hi @andatki! First of all, thank you so much for this amazing book! :muscle:
I’ve found something that can cause a bit of confusion.
Af...
New

Hi and thank you for this fantastic book,
I ran in the following error while trying to run db/scripts/bulk_load.sh:
Bulk loading 10_000...
New

@andatki
High Performance PostgreSQL for Rails - wrong code example
The code description does not match the code snippet.
New

@andatki
class AddTripRatingCheckConstraint < ActiveRecord::Migration[7.0]
def change
add_check_constraint :users, "rating >...
New

@andatki
Minor typo - extra U:
“To free up the space, you’ll need to VACUUUM FULL users;…”
Fix:
To free up the space, you’ll need to ...
New
Most Active Over Three Years
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.
Latest
Filter by Type:
Related Portals
-
None added yet