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 has-one
rails has_one through a collection
Feb 26, 2023
ruby-on-rails
associations
has-one
Has_one association should be a has "only" one association
Feb 24, 2023
ruby-on-rails
associations
has-one
Rails: How to Convert has_one to has_many association
Dec 21, 2022
ruby-on-rails
has-many
has-one
Rails has_one with join table
Jun 16, 2018
ruby-on-rails-3
has-one
Rails multiple Has_one relationship to same model
Feb 04, 2020
ruby-on-rails
ruby
ruby-on-rails-3
has-one
rails-activerecord
Optional or Conditional model associations in Rails
Apr 21, 2022
ruby-on-rails
activerecord
associations
belongs-to
has-one
If I use :class_name attribute to has_one, what do I put in the migration?
Jun 13, 2018
ruby-on-rails
migration
reference
has-one
Best way to specify a default record for a has_many relationship in rails
Mar 07, 2021
ruby-on-rails
has-and-belongs-to-many
belongs-to
has-one
Ruby on Rails - has_one relation, how to check if it has an existing association?
Feb 18, 2022
ruby-on-rails
ruby
has-one
undefined method `updated?' for HasOneAssociation , for nested attributes in Rails 4
Aug 31, 2019
ruby-on-rails
nested-attributes
has-one
RoR: has_one "or the other"? (Or, polymorphism without the inheritance.)
Jul 20, 2021
ruby-on-rails
activerecord
polymorphism
polymorphic-associations
has-one
In Rails, Using Mongoid, How do I find all Models with a valid (not nil) has_one reference?
Feb 07, 2021
ruby-on-rails
mongoid
has-one
In Rails, what is the difference using "has_many with belongs_to" vs "has_many with has_one"?
Feb 08, 2022
ruby-on-rails
activerecord
belongs-to
has-one
Rails determine if association is has_one or has_many
Sep 13, 2022
ruby-on-rails
associations
has-many
has-one
Should I use has_one or belongs_to in ruby on rails?
Oct 19, 2022
ruby-on-rails
belongs-to
has-one
Zero or one association in ActiveRecord
Aug 28, 2022
ruby-on-rails
ruby
associations
belongs-to
has-one
ruby on rails has_one association with unique
Oct 31, 2022
ruby-on-rails
model
belongs-to
has-one
How do you override the getter method for a Rails has_one association?
Nov 14, 2021
ruby-on-rails
ruby-on-rails-3
associations
has-one
Rails nested has_one: cannot delete existing record
Jun 05, 2020
ruby-on-rails
nested-attributes
has-one
grails hasOne vs direct member variable
Oct 09, 2022
grails
foreign-keys
grails-orm
has-one
Older Entries »