Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jakolehm
/
mongomapper
Public
forked from
cheald/mongomapper
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
mongomapper
lib
on
v0.3.3
User selector
All users
All time
Commit history
Commits on Aug 16, 2009
Keys can now be added on the fly using []=. attributes= now uses writer method if defined and if not uses []= to create a dynamic key.
jnunemaker
committed
57c1ab7
View commit details
Copy full SHA for 57c1ab7
View code at this point
Browse repository at this point
Cleaned up find_with_args a bit and added metaid to support files.
jnunemaker
committed
47ad4cf
View commit details
Copy full SHA for 47ad4cf
View code at this point
Browse repository at this point
Removed assign_attributes. Don't like the api for that. Trying to think things through more. Also refactored attributes to be more clear and simple instead of using returning.
jnunemaker
committed
204d28b
View commit details
Copy full SHA for 204d28b
View code at this point
Browse repository at this point
Using embeddable instead of duplicating efforts.
jnunemaker
committed
d4325af
View commit details
Copy full SHA for d4325af
View code at this point
Browse repository at this point
More simple integer typecasting.
jnunemaker
committed
56e9e95
View commit details
Copy full SHA for 56e9e95
View code at this point
Browse repository at this point
Moved support classes to support.rb and out of mongomapper.rb.
jnunemaker
committed
de36e62
View commit details
Copy full SHA for de36e62
View code at this point
Browse repository at this point
Removed illegal id exception as it is no longer used.
jnunemaker
committed
1343a24
View commit details
Copy full SHA for 1343a24
View code at this point
Browse repository at this point
Bumped the mongo ruby driver version to 0.11.1. Fixes #54.
jnunemaker
committed
121971e
View commit details
Copy full SHA for 121971e
View code at this point
Browse repository at this point
Commits on Aug 15, 2009
Removed stupid comment. Forgot it.
jnunemaker
committed
4722428
View commit details
Copy full SHA for 4722428
View code at this point
Browse repository at this point
Dynamic keys are now working pretty good. Also, keys no longer need a type.
jnunemaker
committed
f67e0f4
View commit details
Copy full SHA for f67e0f4
View code at this point
Browse repository at this point
Last now takes order option. Added order to all failing tests so that they stop the random failures.
jnunemaker
committed
875b23a
View commit details
Copy full SHA for 875b23a
View code at this point
Browse repository at this point
do not cast the key value when type is nil
Show description for bb1110a
dcu
authored and
jnunemaker
committed
bb1110a
View commit details
Copy full SHA for bb1110a
View code at this point
Browse repository at this point
add method to only add white listed attributes
Show description for aeace2c
dcu
authored and
jnunemaker
committed
aeace2c
View commit details
Copy full SHA for aeace2c
View code at this point
Browse repository at this point
allow to add custom attributes to a document
Show description for ecdc2d3
dcu
authored and
jnunemaker
committed
ecdc2d3
View commit details
Copy full SHA for ecdc2d3
View code at this point
Browse repository at this point
update_attributes now returns true if valid and false if not. I think it makes more sense to be true or false than document or false.
jnunemaker
committed
4ea1814
View commit details
Copy full SHA for 4ea1814
View code at this point
Browse repository at this point
Commits on Aug 13, 2009
Document.update_attributes() will now return the document if validation passes, false if validation does not pass.
durran
committed
7dc7067
View commit details
Copy full SHA for 7dc7067
View code at this point
Browse repository at this point
Commits on Aug 10, 2009
Added test for destroy being called second time.
jnunemaker
committed
e810264
View commit details
Copy full SHA for e810264
View code at this point
Browse repository at this point
Added tests for belongs to and belongs to poly using find_by_id instead of find.
jnunemaker
committed
bb61e0e
View commit details
Copy full SHA for bb61e0e
View code at this point
Browse repository at this point
destroy_all and delete_all scoped to association now take conditions.
jnunemaker
committed
4e75074
View commit details
Copy full SHA for 4e75074
View code at this point
Browse repository at this point
Reworked delete_all. Added nullify. Added tests for destroy_all, delete_all and nullify.
jnunemaker
committed
9d981d1
View commit details
Copy full SHA for 9d981d1
View code at this point
Browse repository at this point
:dependent => has no effect with 'many embedded'
Show description for 6d92d40
dcu
authored and
jnunemaker
committed
6d92d40
View commit details
Copy full SHA for 6d92d40
View code at this point
Browse repository at this point
add tests
Show description for 84991c8
dcu
authored and
jnunemaker
committed
84991c8
View commit details
Copy full SHA for 84991c8
View code at this point
Browse repository at this point
fix some issues when object is frozen(destroyed); improve support for :dependent
Show description for 14a7a67
dcu
authored and
jnunemaker
committed
14a7a67
View commit details
Copy full SHA for 14a7a67
View code at this point
Browse repository at this point
implemented :dependent => :delete_all|:nullify
Show description for d4b374b
dcu
authored and
jnunemaker
committed
d4b374b
View commit details
Copy full SHA for d4b374b
View code at this point
Browse repository at this point
implemented has_many :dependent => :destroy
Show description for 2a53077
dcu
authored and
jnunemaker
committed
2a53077
View commit details
Copy full SHA for 2a53077
View code at this point
Browse repository at this point
added ManyDocumentsProxy#destroy_all
Show description for c9e494b
dcu
authored and
jnunemaker
committed
c9e494b
View commit details
Copy full SHA for c9e494b
View code at this point
Browse repository at this point
do not set instance variable if object was destroyed
Show description for 5b5ce83
dcu
authored and
jnunemaker
committed
5b5ce83
View commit details
Copy full SHA for 5b5ce83
View code at this point
Browse repository at this point
Updated simple find_by test to something that makes more sense.
Show description for 6084114
jnunemaker
committed
6084114
View commit details
Copy full SHA for 6084114
View code at this point
Browse repository at this point
__send__ to send. No need for __send__.
jnunemaker
committed
2a1af49
View commit details
Copy full SHA for 2a1af49
View code at this point
Browse repository at this point
Added some indention so it is easier to tell the diff between public/private/etc when scanning.
jnunemaker
committed
f1926af
View commit details
Copy full SHA for f1926af
View code at this point
Browse repository at this point
move method definition to Document
Show description for cb71204
dcu
authored and
jnunemaker
committed
cb71204
View commit details
Copy full SHA for cb71204
View code at this point
Browse repository at this point
make find_by_*! work (raises an error if document is not found)
Show description for 8a562c6
dcu
authored and
jnunemaker
committed
8a562c6
View commit details
Copy full SHA for 8a562c6
View code at this point
Browse repository at this point
add tests
Show description for 14cdc11
dcu
authored and
jnunemaker
committed
14cdc11
View commit details
Copy full SHA for 14cdc11
View code at this point
Browse repository at this point
implemented support for find_or_(initialize|create)_by
Show description for 84a8ac2
dcu
authored and
jnunemaker
committed
84a8ac2
View commit details
Copy full SHA for 84a8ac2
View code at this point
Browse repository at this point
initial work on dynamic finders
Show description for 9986637
dcu
authored and
jnunemaker
committed
9986637
View commit details
Copy full SHA for 9986637
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.