- 14 6月, 2013 26 次提交
-
-
由 Xavier Noria 提交于
Fix #10932. Treat "" and "::" as invalid on constantize
-
由 Nikolay Shebanov 提交于
-
由 Guillermo Iguaran 提交于
`initialize_on_precompile` is not used anymore.
-
由 Terence Lee 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
recreate the models without mucking with internal caches of the relation objects, then the test fails. For example: class Man < ActiveRecord::Base has_many :interests end class Interest < ActiveRecord::Base belongs_to :man end Then do this test: def test_validate_presence_of_parent_fails_without_inverse_of repair_validations(Interest) do Interest.validates_presence_of(:man) assert_no_difference ['Man.count', 'Interest.count'] do man = Man.create(:name => 'John', :interests_attributes => [{:topic=>'Cars'}, {:topic=>'Sports'}]) assert_not_predicate man.errors[:"interests.man"], :empty? end end end The test will fail. This is a bad test, so I am removing it.
-
由 Guillermo Iguaran 提交于
We are setting this header to chrome=1 for Chrome Frame and this will be retired soon. Check http://blog.chromium.org/2013/06/retiring-chrome-frame.html for details
-
由 Vijay Dev 提交于
Conflicts: guides/source/upgrading_ruby_on_rails.md
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Yves Senn 提交于
update format validation documetation
-
由 Aaron Patterson 提交于
For example, you need to change this: class Author < ActiveRecord::Base has_many :posts has_many :taggings, :through => :posts end class Post < ActiveRecord::Base has_one :tagging has_many :taggings end class Tagging < ActiveRecord::Base end To this: class Author < ActiveRecord::Base has_many :posts has_many :taggings, :through => :posts, :source => :tagging end class Post < ActiveRecord::Base has_one :tagging has_many :taggings end class Tagging < ActiveRecord::Base end
-
- 13 6月, 2013 10 次提交
-
-
由 Rafael Mendonça França 提交于
Push add column options to schema creation
-
由 Andrew White 提交于
-
由 Andrew White 提交于
Add `DateTime#usec` and `DateTime#nsec` so that `ActiveSupport::TimeWithZone` keeps sub-second resolution when wrapping a `DateTime` value. Fixes #10855
-
由 jeran 提交于
removed two instances of add_column_options! from abstract_mysql_adapter reworked rename_column_sql to remove add_column_options from schema_statements changed to use new hash syntax.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rashmi Yadav 提交于
-
由 Aaron Patterson 提交于
-
- 12 6月, 2013 4 次提交
-
-
由 Guillermo Iguaran 提交于
Refactor of ::Rails module
-
由 Guillermo Iguaran 提交于
Use sprockets-rails 2.0.0
-
由 Paul Nikitochkin 提交于
-
由 Carlos Antonio da Silva 提交于
Drop extra variable from test
-