Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in sti
Rails STI association with subclasses
Oct 29, 2022
sql
ruby-on-rails
activerecord
sti
Can a foreign key have a constant instead of a field name? Relate FK to STI subclass
Oct 23, 2020
sql
database-design
foreign-keys
sti
performant ordering of keys in a MySQL compound index (WRT Rails Polymorphic associations and STI)
Apr 11, 2022
mysql
ruby-on-rails
activerecord
indexing
sti
devise and STI how to login as Base class upon registration
Nov 10, 2021
ruby-on-rails
devise
sti
ActiveRecord: query not using correct type condition for STI subclass
Apr 06, 2019
ruby-on-rails
ruby
activerecord
development-environment
sti
ActiveRecord STI: How can I break out of the parent class' default scope
Dec 20, 2017
activerecord
ruby-on-rails-3.1
sti
default-scope
How to always use the base class and ignore STI in Rails?
Jul 19, 2018
ruby-on-rails
sti
Rails form_for that uses STI base class
Sep 07, 2020
ruby-on-rails
forms
inheritance
polymorphic-associations
sti
Rails Question: belongs_to with STI -- how do i do this correctly?
Jun 04, 2020
ruby-on-rails
ruby-on-rails-3
has-many
single-table-inheritance
sti
Implementing Abstract Base Model Class, the Rails Way™
Sep 09, 2020
ruby-on-rails
activerecord
inheritance
abstract-class
sti
Rails STI: How to change mapping between class name & value of the 'type' column
Jun 28, 2018
ruby-on-rails
types
single-table-inheritance
sti
STI and form_for problem
Sep 09, 2022
ruby-on-rails
form-for
sti
Multi Table Inheritance with rails 3
May 05, 2018
ruby-on-rails
multiple-tables
sti
Testing simple STI with FactoryGirl
Jan 29, 2022
ruby-on-rails
ruby
rspec
factory-bot
sti
Prevent STI when inheriting from an ActiveRecord model
Sep 02, 2022
ruby-on-rails
ruby
sti
« Newer Entries