openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
S
sample_models
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
1 day
ago. based on code collected
3 days
ago.
Sep 20, 2025 — Sep 20, 2026
Showing page 2 of 9
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Rails 3.1 support
Francis Hwang
More...
almost 15 years ago
default belongs-to records are always reloaded, in case transactional rollbacks or deletions remove the record from the DB
Francis Hwang
More...
almost 15 years ago
assoc doesn't require creation just because its presence is required
Francis Hwang
More...
almost 15 years ago
should be able to set a default to nil even if the attribute is required, in case you want to handle that in your own model's creational logic
Francis Hwang
More...
almost 15 years ago
dates and times start from now and sequence down
Francis Hwang
More...
almost 15 years ago
don't mess with timestamps
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
it's possible to configure a default for a belongs-to assoc that's required, assuming you'll set it yourself in the before_save logic
Francis Hwang
More...
almost 15 years ago
handle text columns like string columns
Francis Hwang
More...
almost 15 years ago
attr_accessors can be configured as default
Francis Hwang
More...
almost 15 years ago
create_sample works, but with a deprecation warning
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
more tests
Francis Hwang
More...
almost 15 years ago
named sample attr overrides, require attr_accessors
Francis Hwang
More...
almost 15 years ago
loosening a test
Francis Hwang
More...
almost 15 years ago
named samples
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
self-referring belongs-to assocs are nil by default
Francis Hwang
More...
almost 15 years ago
can set default class for a polymorphic assoc
Francis Hwang
More...
almost 15 years ago
polymorphic associations
Francis Hwang
More...
almost 15 years ago
more on configuration and has-many assocs
Francis Hwang
More...
almost 15 years ago
has-many support
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
uniqueness on a belongs-to attribute
Francis Hwang
More...
almost 15 years ago
cleanup
Francis Hwang
More...
almost 15 years ago
tests for before_save
Francis Hwang
More...
almost 15 years ago
better setup for force_unique tests
Francis Hwang
More...
almost 15 years ago
more configuration tests
Francis Hwang
More...
almost 15 years ago
←
1
2
3
4
5
6
7
8
9
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree