- 26 8月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
correct handling of date selects when using both disabled and discard options
-
由 Vasiliy Ermolovich 提交于
we should take disabled option not only from `html_options` hash but from `options` hash too like `build_select` method does it. So datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true }) datetime_select("post", "updated_at", :discard_minute => true , :disabled => true) both these variants work now closes #7431
-
- 25 8月, 2012 12 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
We simplify two things here: First since * is greedy it is enough to go look for the rightmost ::, no need to ask the regexp engine to match the rest of the string since we are not validating anything, only capturing. The second simplification comes from using a look-ahead assertion, that allows us to have the capture in $&, thus removing the need of a group.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Accept a symbol for `:in` option on inclusion and exclusion validators
-
由 José Valim 提交于
Extract ActiveRecord::SessionStore from Rails
-
由 Prem Sichanugrist 提交于
Tell people to install `activerecord-session_store` gem when it's not installed instead ofraising `NameError` on missing `ActionDispatch::Session::ActiveRecordStore`.
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
This functionality will be available from gem `active_record-session_store` instead.
-
由 Gabriel Sobrinho 提交于
-
- 24 8月, 2012 9 次提交
-
-
由 Rafael Mendonça França 提交于
Fix tests that depend on run order
-
由 Xavier Noria 提交于
The new regexp has less work to do, we anchor a fixed string at the end and need no group.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Aaron Patterson 提交于
Model.select takes a variable list of arguments
-
由 Isaac Sanders 提交于
This is a cleaner version of #6916. Closes #3165.
-
- 23 8月, 2012 12 次提交
-
-
由 Vijay Dev 提交于
Update the documentation for the :autosave option on belongs_to
-
由 David Celis 提交于
I've noticed a caveat with the :autosave option biting people before. Questions arise about why they must explicitly save an associated object in their own before_save callbacks. I've updated the documentation as such to note to users that the :autosave callback occurs before any user defined callbacks. They must save the associated record themselves if altering it in their own callbacks. Signed-off-by: NDavid Celis <david@davidcelis.com>
-
由 José Valim 提交于
This reverts commit b0ab8dc0 because it was removing the contents of the message when we did not have any tag. A test case is also committed.
-
由 José Valim 提交于
The reason the test was failing was because when the test invokes `app.config`, the app is loaded and, as `eager_load` is set to true, it disables the dependency loading mechanism, so controllers that are later defined are not loaded.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Aaron Patterson 提交于
-
由 Xavier Noria 提交于
The revised test assumed that the default permissions of a file matched the umask of the process, but in the general case that depends also on the file system. This test was failing in the /vagrant shared folder of Rails development boxes.
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
Extended documentation for `time_ago_in_words` helper
-
由 Vijay Dev 提交于
-
- 22 8月, 2012 5 次提交
-
-
由 Carlos Antonio da Silva 提交于
Remind user a good way to generate a secret code [ci skip]
-
由 Teng Siong Ong 提交于
-
由 Soon Van 提交于
-
由 Rafael Mendonça França 提交于
AR::Relation#model would be a better API than AR::Relation#klass
-
由 Rafael Mendonça França 提交于
-