Commit Graph

38042 Commits

Author SHA1 Message Date
Anton Cherepanov
059f9f0394 Added markdown tag for highlight 2013-06-24 16:28:26 +02:00
Rashmi Yadav
a6f44db052 [doc] Info added for tmp:create [ci skip] 2013-06-23 10:02:13 +02:00
Robin Dupret
89c1653ee3 Missing mention about a generated file [ci skip]
Add a mention about the helper's test file generated invoking the
controller generator in the USAGE file
2013-06-22 18:39:50 +03:00
Rashmi Yadav
11cae34701 [doc] Update return false if record is invalid 2013-06-19 19:01:33 +02:00
Chandresh Pant
6946fffd63 rewrote render tag using more succinct and idiomatic way 2013-06-17 13:51:59 +05:30
Vipul A M
ebc7531a0a Fix TOC ul markup 2013-06-16 12:45:49 +05:30
Vishnu Atrai
8bb165e9e0 change rails verison to 4.0.0 in command line 2013-06-16 11:52:46 +05:30
Mikhail Dieterle
03e3a2a253 reorder finder methods list alphabetically 2013-06-16 00:10:43 +03:00
Mikhail Dieterle
1010f9382b fix quotes and ruby old hashes 2013-06-15 18:39:17 +03:00
Mikhail Dieterle
d4794fd9d2 Use markdown quotes instead <tt> tag 2013-06-15 18:09:07 +03:00
Vijay Dev
6359a5dbd2 reword the docrails info [ci skip] 2013-06-15 19:37:22 +05:30
Vipul A M
c64feccc28 Update contributing to rails guide to depict new contributing to documentation info 2013-06-15 19:11:42 +05:30
Vipul A M
99dfa35d46 Change documentation about contributing to Docs 2013-06-15 18:43:59 +05:30
Vishnu Atrai
af8cbfa7b1 Merge pull request #150 from vatrai/edgerails_in_command_line
replace version 3.2.3 by 4.0.0.beta in command line
2013-06-15 05:56:18 -07:00
Vishnu Atrai
b014f28299 Merge pull request #146 from vatrai/command_line_rake_guid
more guidelines for rake tasks
2013-06-15 05:55:50 -07:00
Vishnu Atrai
fc8c4e60d8 Merge pull request #151 from vatrai/action_view_basic
date_field docs for action view
2013-06-15 05:55:10 -07:00
Vipul A M
ecd48f71af Change "." to ":" for formatting purpose 2013-06-15 13:45:28 +05:30
Vishnu Atrai
975080d1e1 date_field docs for action view 2013-06-15 12:26:04 +05:30
Vipul A M
7ca82da6b0 dasboard => dashboard 2013-06-15 11:07:50 +05:30
Vishnu Atrai
3741dc758f replace version 3.2.3 by 4.0.0.beta in command line 2013-06-15 11:01:50 +05:30
Vipul A M
57c0b54a91 existant => existent 2013-06-15 09:55:05 +05:30
Vishnu Atrai
8f39defd29 more guidelines for command line 2013-06-14 08:06:54 +05:30
Vijay Dev
cf5bcf7fa8 Merge pull request #142 from codyrobbins/master
Added a warning about #1769 to the routing guide
2013-06-13 12:54:43 -07:00
Vijay Dev
41a398f859 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/upgrading_ruby_on_rails.md
2013-06-14 01:14:56 +05:30
Vijay Dev
2f0a5c7ac5 copy editing AS guide [ci skip] 2013-06-14 01:07:02 +05:30
Vijay Dev
7663149f72 copy edits [ci skip] 2013-06-14 00:58:11 +05:30
Vijay Dev
c78b4310cf Revert "Add detailed steps on how to squash multiple commits into a single detailed commit"
This reverts commit 6df9c595ad8e473d15a81a9291e891476bc833c2.
2013-06-14 00:55:05 +05:30
Vijay Dev
1283a52db8 Revert "Whitespace trimming in guides generation"
This reverts commit 91a1cf7013252753567b36f61bfcd5fd0a5bb2b8.

Reason: code changes disallowed in docrails, even if they are
guides generation related.
2013-06-14 00:30:40 +05:30
Aaron Patterson
930d0e129c oops. step away from the keyboard aaron. 😢 2013-06-13 11:01:27 -07:00
Aaron Patterson
27be568639 fix caching of automatic inverse of. 💣 2013-06-13 11:00:02 -07:00
Aaron Patterson
634fd040db let the object stay in charge of internal cache invalidation 2013-06-13 10:59:11 -07:00
Aaron Patterson
9abcb131f9 refute the predicate for better failure messages 2013-06-13 10:50:53 -07:00
Aaron Patterson
f379185a89 reduce automatic_inverse_of caching logic 2013-06-13 10:49:29 -07:00
Aaron Patterson
5d46c570de active_record should always be set. Do or do not, there is no try 2013-06-13 10:23:15 -07:00
Aaron Patterson
16b70fddd4 push ambiguous reflection warning down to reflection name calculation 2013-06-13 10:10:06 -07:00
Aaron Patterson
db1b92f4a3 clean up ivar assignment 2013-06-13 10:10:06 -07:00
Yves Senn
399c369107 Merge pull request #10890 from buytruckload/master
update format validation documetation
2013-06-13 09:52:18 -07:00
Aaron Patterson
b483a0d2a7 Ambiguous reflections are on :through relationships are no longer supported.
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
2013-06-13 09:46:42 -07:00
Rafael Mendonça França
47e8bb10a4 Merge pull request #10425 from ranjaykrishna/push_add_column_options_to_schema_creation
Push add column options to schema creation
2013-06-13 05:49:31 -07:00
Andrew White
a272d0cbe2 Add missing nsec test for 17f5d8e 2013-06-13 12:21:19 +01:00
Andrew White
17f5d8e062 Keep sub-second resolution when wrapping a DateTime value
Add `DateTime#usec` and `DateTime#nsec` so that `ActiveSupport::TimeWithZone`
keeps sub-second resolution when wrapping a `DateTime` value.

Fixes #10855
2013-06-13 12:01:12 +01:00
jeran
ea72430b84 Moving add_column_options! up to SchemaCreation
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.
2013-06-12 19:32:44 -07:00
Aaron Patterson
b3bc3aa5cb sometimes singularize does not work, so we get a list of two strings. just uniq them 2013-06-12 18:56:23 -07:00
Aaron Patterson
9e7040d8a0 no need to cache hash lookups 2013-06-12 17:07:35 -07:00
Aaron Patterson
9d79333140 split aggregates from association reflections to avoid is_a checks later 2013-06-12 16:58:22 -07:00
Aaron Patterson
0ee351b428 remove unnecessary is_a check 2013-06-12 16:36:36 -07:00
Rashmi Yadav
ad694f2f26 Using 1.9 syntax for edge guides 2013-06-12 23:04:40 +02:00
Aaron Patterson
d7e2310913 we should apply the default scope before querying 2013-06-12 11:51:26 -07:00
Guillermo Iguaran
9fc574fdea Merge pull request #10915 from gsamokovarov/railties-autoloads
Refactor of ::Rails module
2013-06-12 07:18:50 -07:00
Guillermo Iguaran
5dedd2cd21 Merge pull request #10928 from jetthoughts/use_sprockets_rails_2_0_0
Use sprockets-rails 2.0.0
2013-06-12 07:00:40 -07:00