- 20 3月, 2013 3 次提交
-
-
由 schneems 提交于
If the host in `default_url_options` is accidentally set with a protocol such as ``` host: "http://example.com" ``` then the generated url will have the protocol twice `http://http://example.com` which is not what the user intended. Likely they wanted to define a host `host: "example.com"` and a `protocol: "http://"` but did not know the convention. This may not the most common problem, but when it happens it can go undetected for a while. I accidentally added `http://` out of habit recently only to find all the links in my emails were broken after deploying a demo site to production. Rather than allow this accident go undetected, we can fix the problem in line by properly setting the protocol and host. I was able to find this related question on stack overflow: http://stackoverflow.com/questions/5878329/rails-3-devise-how-do-i-make-the-email-confirmation-links-use-secure-https-n where the answer was highly upvoted. This is based off of work in #7415 cc/ @pixeltrix ATP Action Mailer and Action Pack
-
由 Aaron Patterson 提交于
Fixed the repair_validations helper method.
-
由 wangjohn 提交于
it only cleared the validations that created :validate callbacks. This didn't include the validates created by validates_with, so I've added a method to clear all validations.
-
- 19 3月, 2013 25 次提交
-
-
由 Santiago Pastorino 提交于
Fix warning: mismatched indentatmmismatched indentations at 'end' with 'def'
-
由 kennyj 提交于
-
由 Steve Klabnik 提交于
drop an unused hash; change slang to SPECIAL
-
由 Vipul A M 提交于
-
由 Carlos Antonio da Silva 提交于
Check 862389c9 for more background.
-
由 José Valim 提交于
Check pull request #9789 for more information.
-
由 Carlos Antonio da Silva 提交于
This reverts commit 9c4c05fc, reversing changes made to 4620bdce. Reason: They're not completely interchangeable, since blank? will also check for strings containing spaces.
-
由 Carlos Antonio da Silva 提交于
Change from blank? to empty? on obvious string values to save extra calls
-
由 Vipul A M 提交于
-
由 Carlos Antonio da Silva 提交于
Introduced in 5dc2e353.
-
由 Xavier Noria 提交于
This reverts commit c24528fb.
-
由 Rafael Mendonça França 提交于
Change from each to each_value;drop assignment in habtm
-
由 Vipul A M 提交于
2. drop assignment of value to sum in test
-
由 Xavier Noria 提交于
-
由 Steve Klabnik 提交于
Digest auth should not 500 when given a basic header.
-
由 Brad Dunbar 提交于
-
由 Steve Klabnik 提交于
fix typos in AR. lots of them.
-
由 Vipul A M 提交于
-
由 Steve Klabnik 提交于
More helpful message when starting server
-
由 Gabe Kopley 提交于
v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva
-
由 Aaron Patterson 提交于
* master-sec: fix protocol checking in sanitization [CVE-2013-1857] JDOM XXE Protection [CVE-2013-1856] fix incorrect ^$ usage leading to XSS in sanitize_css [CVE-2013-1855] stop calling to_sym when building arel nodes [CVE-2013-1854]
-
由 Jeremy Kemper 提交于
config.ru uses the effective Rack app
-
由 Andrew White 提交于
`TimeWithZone` raises `NoMethodError` in proper context.
-
由 Yves Senn 提交于
Closes #9772. `TimeWithZone` delegates everything to the wrapped `Time` object using `method_missing`. The result is that `NoMethodError` error will be raised in the context of `Time` which leads to a misleading debug output.
-
由 Carlos Antonio da Silva 提交于
i18n locale fallback for localized views
-
- 18 3月, 2013 12 次提交
-
-
由 Carlos Antonio da Silva 提交于
Fix repeat of test; remove unused variable by use of each_key
-
由 Carlos Antonio da Silva 提交于
Remove ancient TODOs [ci skip]
-
由 Carlos Antonio da Silva 提交于
Fix some typos found in activemodel
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
Move tests out from base_test.rb to inheritance_test.rb
-
由 Carlos Antonio da Silva 提交于
SQLite3 3.6.8+ supports nested transactions [ci skip]
-
由 Vipul A M 提交于
-
由 Xavier Noria 提交于
refer to the contributing guide on how to create issues.
-
由 Yves Senn 提交于
-
由 Vipul A M 提交于
-
由 Takehiro Adachi 提交于
These tests should be in inheritance_test.rb since its testing a feature which is implemented in inheritance.rb
-