Santiago Pastorino
|
ab2bde45f8
|
Remove require AS::Concern from places where is already in
|
2010-12-19 19:15:26 -02:00 |
|
Santiago Pastorino
|
5fb42ac478
|
Tests and docs which explain the use of validate with a block and without arguments
|
2010-12-19 18:50:18 -02:00 |
|
Santiago Pastorino
|
08ccd29b5b
|
Remove weak_passwords list and the length/strong password validator, leave that up to the programmer
|
2010-12-19 15:01:29 -02:00 |
|
Piotr Sarnacki
|
37e643120a
|
Temporary fix for railties test for newest rack changes
|
2010-12-19 17:57:36 +01:00 |
|
Santiago Pastorino
|
13e5a26dbb
|
Fix indentation
|
2010-12-19 14:00:09 -02:00 |
|
Santiago Pastorino
|
7b875953b8
|
Use Concern in Rails::Railtie::Configurable
|
2010-12-19 14:00:09 -02:00 |
|
Santiago Pastorino
|
f249d07c44
|
Add missing require
|
2010-12-19 14:00:08 -02:00 |
|
Piotr Sarnacki
|
c29a4485a2
|
Refactoring of application's task in engine.rake
|
2010-12-19 15:59:55 +01:00 |
|
Piotr Sarnacki
|
b50024f2ff
|
Do not load all application's task in generated engine
|
2010-12-19 15:12:13 +01:00 |
|
José Valim
|
6d80f3a1ba
|
Use class_attribute to ensure weak_passwords are inheritable.
|
2010-12-19 13:31:48 +01:00 |
|
Mikel Lindsaar
|
6c217f98db
|
Add set_weak_passwords call in alignment with set_table_name.
|
2010-12-19 21:36:47 +11:00 |
|
Mikel Lindsaar
|
fa14df08a8
|
Fix incorrect docs
|
2010-12-19 20:54:15 +11:00 |
|
Mikel Lindsaar
|
a39a333769
|
Added ability to specify which passwords you want as weak passwords
|
2010-12-19 20:39:54 +11:00 |
|
José Valim
|
863de37b05
|
'unsecure' => 'insecure'
|
2010-12-19 09:37:08 +01:00 |
|
José Valim
|
432556b923
|
Make password messages translatable.
|
2010-12-19 09:34:31 +01:00 |
|
José Valim
|
b8f6dd8cbb
|
Add missing require and remove extra module.
|
2010-12-19 09:31:26 +01:00 |
|
José Valim
|
d592fa946d
|
Avoid warnings and fix small typo on SecurePassword.
|
2010-12-19 09:28:15 +01:00 |
|
David Heinemeier Hansson
|
bd9dc4ff23
|
BCrypt does its own salting, lovely!
|
2010-12-18 19:09:07 -08:00 |
|
David Heinemeier Hansson
|
39b5ea6e01
|
Switch from SHA2 to BCrypt (easy Windows compatibility is coming shortly with new compiled gem)
|
2010-12-18 15:39:32 -08:00 |
|
David Heinemeier Hansson
|
bcf4e4f2b0
|
Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting
|
2010-12-18 13:38:05 -08:00 |
|
Piotr Sarnacki
|
d9b732fcad
|
Fix tests in railties
|
2010-12-18 21:47:27 +01:00 |
|
Piotr Sarnacki
|
4eb0d580a2
|
Use gemspec instead of gem rails in Gemfile
|
2010-12-18 19:42:03 +01:00 |
|
Don Wilson
|
f71809f257
|
Fixed number_with_precision rounding error [#6182 state:resolved]
|
2010-12-18 10:00:37 +01:00 |
|
Aaron Patterson
|
5008d33eee
|
dry up case / when statement
|
2010-12-17 11:31:15 -08:00 |
|
Piotr Sarnacki
|
e22885f3a9
|
Use require 'bundler/setup' instead of directly calling Bundler.setup in config/boot.rb
|
2010-12-17 20:30:34 +01:00 |
|
Piotr Sarnacki
|
07567aea5f
|
Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"
This reverts commit 006ec77e60.
|
2010-12-17 16:11:47 +01:00 |
|
Piotr Sarnacki
|
f7e33620ca
|
Allow to use BUNDLE_GEMFILE env variable in boot.rb [#6184 state:resolved]
|
2010-12-17 16:10:08 +01:00 |
|
Don Wilson
|
006ec77e60
|
Fixed number_with_precision rounding error [#6182 state:resolved]
|
2010-12-17 11:32:19 +01:00 |
|
Santiago Pastorino
|
3b9120fa52
|
Generate add_index by default when giving type belongs_to or references
|
2010-12-16 20:58:58 -02:00 |
|
Piotr Sarnacki
|
f176b2552e
|
Changelog and guide entries for config.action_view.cache_template_loading
|
2010-12-16 22:53:19 +01:00 |
|
Piotr Sarnacki
|
40b15f9f38
|
ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved]
|
2010-12-16 22:25:09 +01:00 |
|
Piotr Sarnacki
|
e89fff2f6b
|
Bring back config.action_view.cache_template_loading [#5847 state:resolved]
|
2010-12-16 22:24:48 +01:00 |
|
Santiago Pastorino
|
81cf98d342
|
dragdrop was tested twice and effects.js was missing, added checks for controls.js, dragdrop.js and effects.js to another test
|
2010-12-16 11:37:11 -02:00 |
|
Jon Leighton
|
14b880fd03
|
Fix various issues with the :primary_key option in :through associations [#2421 state:resolved]
|
2010-12-15 17:50:14 -08:00 |
|
Jon Leighton
|
09ddca67ac
|
Fix problem with duplicated records when a :uniq :through association is preloaded [#2447 state:resolved]
|
2010-12-15 17:47:42 -08:00 |
|
Aaron Patterson
|
6bfa846a2c
|
dry up compute type in attribute
|
2010-12-15 14:02:30 -08:00 |
|
Pavel Gorbokon
|
96bae30538
|
Replace rudimentary named_scope with scope. [#6052 state:resolved]
* rename method names (actually in tests)
* rename instance variable @_named_scopes_cache to @_scopes_cache
* rename references in doc comments
* don't touch CHANGELOG :)
|
2010-12-15 14:02:30 -08:00 |
|
Franck Verrot
|
aa40543022
|
Provide test for #4840: to_xml doesn't work in such case: Event.select('title as t').to_xml
|
2010-12-15 14:02:30 -08:00 |
|
Víctor Martínez
|
fe0db2b805
|
to_xml doesn't work in such case: Event.select('title as t').to_xml [#4840 state:resolved]
NilClass.type is no longer defined in Ruby 1.9 and causes ActiveRecord::Base.to_xml to fail with message: undefined method `type' for nil:NilClass
|
2010-12-15 14:02:30 -08:00 |
|
Vijay Dev
|
c594f22e65
|
Merge branch 'master' of github.com:lifo/docrails
|
2010-12-16 01:51:44 +05:30 |
|
Vijay Dev
|
f96fb78e57
|
removed info about deprecated rake tasks, documented the sandbox option for the rails console and minor corrections
|
2010-12-16 01:49:30 +05:30 |
|
Pivotal Labs
|
15984dbe35
|
test for eager load of has_one association with condition on the through table
|
2010-12-16 01:49:30 +05:30 |
|
Aaron Patterson
|
4cd3302279
|
make sure that join nodes are uniq
|
2010-12-16 01:49:30 +05:30 |
|
Jon Leighton
|
491ce5b6ce
|
Verify that creating a has_many through record where there is a default_scope on the join model works correctly (creates the join record with the default scope applied)
|
2010-12-16 01:49:30 +05:30 |
|
Jon Leighton
|
eba7664086
|
Respect the default_scope on a join model when reading a through association
|
2010-12-16 01:49:30 +05:30 |
|
brainopia
|
ebc47465a5
|
Fix edge cases for domain :all option on cookie store
Dont set explicit domain for cookies if host is not a domain name
[#6002 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-12-16 01:49:30 +05:30 |
|
Piotr Sarnacki
|
875bbd58b4
|
AppGenerator: use options instead of @options
|
2010-12-16 01:49:30 +05:30 |
|
Piotr Sarnacki
|
bb89f8613a
|
Kill whitespace!
|
2010-12-16 01:49:30 +05:30 |
|
Piotr Sarnacki
|
ed32c8fe51
|
Generate default layout in engine with --mountable option
|
2010-12-16 01:49:30 +05:30 |
|
Piotr Sarnacki
|
7f77d6691f
|
Fix generation of prototype files, it should work with --javascript prototype, not --prototype
|
2010-12-16 01:49:30 +05:30 |
|