Commit Graph

38938 Commits

Author SHA1 Message Date
Robin Dupret
1bb9771040 Add installation instructions for FreeBSD [ci skip]
Add packages required to setup the rails environment on FreeBSD.
2013-07-29 15:46:29 +02:00
Andrew White
88c0ef4d4f Fix handling of offsets with Time#to_s(:iso8601)
Use a lambda to ensure that the generated string respects the offset of
the time value. Also add DateTime#to_s(:iso8601) and Date#to_s(:iso8601)
for completeness.
2013-07-29 12:31:20 +01:00
Carlos Antonio da Silva
cde979c388 Merge pull request #11649 from neerajdotname/use_method_with_active_record_default_timezone
use method with_active_record_default_timezone
2013-07-29 04:07:39 -07:00
Carlos Antonio da Silva
4cf805a6d9 Move changelog entry to the top [ci skip] 2013-07-29 08:03:41 -03:00
Yves Senn
1f72dd4945 Merge pull request #11648 from prathamesh-sonpatki/doc-fix
Improved the doc about showing posts in getting started guide [ci skip]
2013-07-29 02:14:49 -07:00
Prathamesh Sonpatki
482718ffb5 Improved the doc about showing posts in getting started guide [ci skip]
- Reference #11644
2013-07-29 14:40:02 +05:30
Yves Senn
008e5722d4 Merge pull request #11646 from neerajdotname/remove_duplicate_method
remove duplicate method
2013-07-29 01:19:05 -07:00
Neeraj Singh
a0f0943d3a use method with_active_record_default_timezone 2013-07-29 09:07:55 +05:30
Neeraj Singh
e18e7d9253 remove duplicate method
This method is already present in helper.rb
2013-07-29 07:49:56 +05:30
David Heinemeier Hansson
b67a80de9b Add Time#to_s(:iso8601) for easy conversion of times to the iso8601 format for easy Javascript date parsing 2013-07-28 16:34:43 -05:00
Aaron Patterson
586173204c Merge pull request #11608 from arunagw/ruby-from-rubygems
grab executable from rubygems
2013-07-28 13:55:46 -07:00
Akira Matsuda
953b577f43 Avoid "uninitialized constant ActiveRecord::PendingMigrationError::Rails" 2013-07-29 03:41:36 +09:00
Akira Matsuda
25324b632a Revert "fix order dependent test related to migration"
This reverts commit 10259c3e906da2191ef0d43cd664a3b5504d9f8c.

reason: this causes rake test_mysql and test_mysql2 fail
2013-07-29 03:27:10 +09:00
Akira Matsuda
d011c74d1a Properly repair validations when dynamically added 2013-07-29 03:03:24 +09:00
Akira Matsuda
6c32baddc0 Clear class ivar before testing 2013-07-29 03:03:24 +09:00
Akira Matsuda
06ac57776c Unneeded assertion 2013-07-29 03:03:24 +09:00
Akira Matsuda
f0942a7c23 Don't rewrite AR connection#commit_db_transaction method globally 2013-07-29 03:03:24 +09:00
David Heinemeier Hansson
516606b819 Merge pull request #11640 from pawel2105/manifest_fix
Changed stylesheet load order in the stylesheet manifest generator.
2013-07-28 11:00:07 -07:00
Rafael Mendonça França
96a80bf394 Merge pull request #11641 from ankit8898/test_cleanup
Cleanup of class_name
2013-07-28 07:49:46 -07:00
Rafael Mendonça França
dfd5e772c4 Merge pull request #11634 from neerajdotname/fix_order_dependent_test_for_migration
fix order dependent test related to migration
2013-07-28 07:45:42 -07:00
Rafael Mendonça França
4a76054165 Merge pull request #11635 from neerajdotname/make_test_order_independent_by_resetting_timezone
make test order independent by resetting timezone
2013-07-28 07:45:12 -07:00
Rafael Mendonça França
c8461e0d43 Merge pull request #11637 from neerajdotname/make_test_not_depend_on_order
reset default timezone and make test order independent
2013-07-28 07:44:56 -07:00
Rafael Mendonça França
f625d325e0 Merge pull request #11638 from neerajdotname/make_order_independent_association_test
make test not depend on order
2013-07-28 07:44:33 -07:00
Vijay Dev
2a71e9cbd4 Merge branch 'master' of github.com:rails/docrails 2013-07-28 19:41:48 +05:30
Mikhail Dieterle
f14c94dd1a Typo fix 2013-07-28 17:01:29 +03:00
Ankit Gupta
408b798240 Cleanup of class_name
Don't think class name is needed as by default belongs_to :select will be linked to Select class.
2013-07-28 15:00:55 +01:00
Mikhail Dieterle
b1b589cab6 Using markdown-style code quotes 2013-07-28 16:36:26 +03:00
Pawel Janiak
f18aecfe7b Changed stylesheet load order in the stylesheet manifest generator. 2013-07-28 15:05:17 +02:00
Neeraj Singh
4cf4ea506d make test not depend on order
`NestedThroughAssociationsTest` adds records to `member_details` table.
When test performs `@member_details[0]` then the order of record
is not guaranteed. Hence it is best to start with a clean slate by
deleting unwanted records.
2013-07-28 16:51:55 +05:30
Neeraj Singh
5e68e42f62 reset default timezone and make test order independent 2013-07-28 16:08:01 +05:30
Robin Dupret
741fdbfcf4 Fix lixml2 to libxml2 [ci skip] 2013-07-28 12:19:54 +02:00
Neeraj Singh
d52052d027 make test order independent by resetting timezone 2013-07-28 14:58:19 +05:30
Guillermo Iguaran
b6c0639825 Merge pull request #11633 from neerajdotname/fix_rder_dependent_test
fix order dependent test
2013-07-28 01:44:54 -07:00
Neeraj Singh
10259c3e90 fix order dependent test related to migration
If the order in which tests are executed is changed then test fails.
This commit ensures that all migrations are run before ensuring that
there are no pending migration.
2013-07-28 14:14:24 +05:30
Neeraj Singh
09beb9c292 fix order dependent test
`ReflectionTest` uses column information in tests and those tests break
if tests are run in random order.
2013-07-28 11:46:02 +05:30
Rafael Mendonça França
6b7424c230 Merge pull request #11625 from phstc/minor-refactor-code-gardener-grouping
Minor refactor - Uses Enumerable#to_a instead of iterate and add to an array
2013-07-27 15:29:46 -07:00
Pablo Cantero
7ed8934f08 Minor refactor - Uses Enumerable#to_a instead of iterate and add to an
array
2013-07-27 19:25:01 -03:00
Santiago Pastorino
bffda1e65e Merge pull request #11620 from spajus/update_docs
Update Rails 3.2.x guide link [ci skip]
2013-07-27 08:17:04 -07:00
Tomas Varaneckas
33f902ee55 Update Rails 3.2.x guide link [ci skip] 2013-07-27 09:26:05 +03:00
Jay Hayes
a99aa3ba1b Fixes typo in Object#try! 2013-07-26 15:18:04 -05:00
Robin Dupret
82a2a78be8 Use hyphenated version of assert_url [ci skip] 2013-07-26 16:10:03 +02:00
Robin Dupret
a8d1412a32 Add a SQL example for not [ci skip]
To share a certain logic across other examples, let's add a sample SQL
code generated by the given Ruby code
2013-07-26 15:11:58 +02:00
Xavier Noria
7d7c9f4d6b Merge pull request #11611 from arunagw/api-generation-av
Excluding action_view/vendor in API[ci skip]
2013-07-26 04:02:09 -07:00
Damien Mathieu
3f29a65cd5 Refix my misreading of the diff
sorry @robin850.
Thanks @fxn
2013-07-26 12:23:33 +02:00
Arun Agrawal
1e384f82b0 Removed excluding vendor from API doc [ci skip]
These folder not exists in system
2013-07-26 12:21:53 +02:00
Damien Mathieu
8b8d7f9721 Revert "Fix the SQLite gem name"
This reverts commit 700c6c65bcce17d4c61423ceaef031bcbe203337.

Bot the `sqlite3` and `sqlite3-ruby` gems exist.
https://rubygems.org/gems/sqlite3
https://rubygems.org/gems/sqlite3-ruby

In fact, they both point to the same github repository.
https://github.com/luislavena/sqlite3-ruby

However, the last one hasn't been released since 2011, while the first
one keeps getting regular releases.
2013-07-26 12:05:42 +02:00
Arun Agrawal
e32576ae52 Excluding action_view/vendor in API [ci skip] 2013-07-26 12:03:53 +02:00
Arun Agrawal
f52832de2a grab executable from rubygems
As done here d7fc97d3f90c0e30865d32ce202658f03248cacc
2013-07-26 11:07:25 +02:00
Max Shytikov
310fc2b8c1 Refactor handling of action normalization
Reference:
Bloody mess internals
http://gusiev.com/slides/rails_contribution/static/#40
2013-07-26 09:49:07 +01:00
Akira Matsuda
633be2cbbd Be sure to restore the default I18n.locale after changed its value in a test 2013-07-26 04:21:52 +09:00