Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on Apr 30, 2012
@henning-koch henning-koch document :allow_blank switch ff46e45
@henning-koch henning-koch fix email links in README 0d2d4a2
Commits on Jun 15, 2012
@henning-koch henning-koch allow to define humanizations by passing a hash to .assignable_values…
Commits on Jul 05, 2012
@henning-koch henning-koch Fix a bug where defaults were not run in Rails 2. Run specs in 3 diff…
…erent versions of Rails.
Commits on Jul 31, 2012
@henning-koch henning-koch allow to retrieve the humanization of any given argument 476ebbf
Commits on Aug 02, 2012
@henning-koch henning-koch add a :secondary_default option to define a secondary default that is…
… only set when the primary default is not assignable
@henning-koch henning-koch fix a bug where a_v would crash when using the :secondary_default opt…
…ion with a nil delegate
Commits on Aug 14, 2012
@henning-koch henning-koch allow humanizations for values that are not strings; new syntax for o…
…btaining lists of assignable values and their humanizations
Commits on Nov 23, 2012
@kratob kratob Update
change "lambda" to "proc" in README, for 1.9
Commits on Nov 28, 2012
@henning-koch henning-koch fix a bug where values were not humanized until the list of humanized…
… values was accessed first
@henning-koch henning-koch add task to update bundles in all spec apps / add Gemfile.locks zu re…
…pository / update all bundles to make sure they run with the latest rails
Commits on Dec 05, 2012
@henning-koch henning-koch it should not prepend a previously saved value to the top of the list…
… if it is still allowed (bugfix)
Commits on Dec 19, 2012
@henning-koch henning-koch fix are bug where errors for belongs_to associations were attached to…
… the associations instead of their foreign keys
@manuelmeurer manuelmeurer Fixed typo in README 39b555e
Commits on Jan 03, 2013
@henning-koch henning-koch allow the :allow_blank option to be set a lambda or symbol (referring…
… to a method name)
Commits on Jan 15, 2013
@henning-koch henning-koch should generate a legal getter name for a namespaced model (bugfix) 4414e28
Commits on Feb 01, 2013
@henning-koch henning-koch Merge pull request #4 from krautcomputing/patch-1
Fixed typo in README
Commits on Mar 02, 2013
@henning-koch henning-koch Ruby 1.9 compatibility, Travis CI 0c41f73
@henning-koch henning-koch add travis ci badge to readme 2ef33ed
@henning-koch henning-koch allow custom error messages cbc9d22
Commits on Mar 18, 2013
@kratob kratob use slimgems on travis 5226cd5
Commits on Jul 26, 2013
@kratob kratob release as MIT 88b37e5
Commits on Jul 31, 2013
@henning-koch henning-koch push to wake up travis ci e546182
@henning-koch henning-koch update debugger gem in hope of satisfying the travis CI gods bd8ded8
Commits on Oct 29, 2013
@henning-koch henning-koch code climate badge e8c24b2
Commits on Nov 27, 2013
@henning-koch henning-koch Don't bust method caches when retrieving humanized value old-school e289a99
@henning-koch henning-koch Allow humanizations for a given value to be retrieved from the class 6f7f693
@henning-koch henning-koch version bump to 0.8.0 f79d5a1
Commits on Nov 28, 2013
@henning-koch henning-koch debug travis ci fuckup d038063
@henning-koch henning-koch try to satisfy the TravisCI gods by disabling rubygems-bundler ed21519
@henning-koch henning-koch try to disable rubygems-bundler another way b08e64f
@henning-koch henning-koch and one more fix for travis ci cc5ab30
Commits on Dec 03, 2013
@foobear foobear Use correct foreign key of belongs_to associations d415f75
Commits on Dec 09, 2013
Dominik Schöler Hopefully fix Travis CI by:
* tidying up Rake tasks for Travis
* bundling with_clean_env
* tidying up the gemspec file
Dominik Schöler Upgrade debugger to 1.6.3 9d363f9
Dominik Schöler Separate Branch for fixing tests on Travis 2530719
Dominik Schöler Remove debugger from test app Gemfiles 054981b
Commits on Mar 19, 2014
@martin-straub martin-straub exchange .to_a with Array(…)
remove warning
lib/assignable_values/active_record/restriction/base.rb:95: warning: default `to_a' will be obsolete
Commits on Apr 17, 2014
@martin-straub martin-straub add .ruby-version 6a1a6d7
@martin-straub martin-straub Support virtual attributes (add if-switch to #previously_saved_value) 2052cfc
Commits on Jun 10, 2014
Dominik Schöler Fetch gems via HTTPS 3def878
Dominik Schöler Improve Rakefile: prepare Rails 4.1 support with Travis CI c75ccb1
Dominik Schöler Have a single database.yml file 7344e9e
Dominik Schöler Update .ruby-version to 1.9.3 (only concerning gem development) 87baea5
Dominik Schöler Fetch gems via HTTPS c4ef649
Dominik Schöler Add Rails 4.1 support 22551ff
Commits on Jun 16, 2014
Dominik Schöler Introduce :include_old_value option to #assignable_XXX method (defaul…
…t: true)
Dominik Schöler Fix block with optional arguments for Ruby 1.8 (workaround) 05c65a4
Dominik Schöler Fix description of new option in README 3cf0522
Commits on Sep 24, 2015
@henning-koch henning-koch Only allow previously saved record if the record has actually been pe…
…rsisted; If it has been persisted before, also allow blank values
@henning-koch henning-koch Version 0.11.2 5c4f84c