Prathamesh Sonpatki
ef7b09016b
Add a note about edge guides in the feedback section[ci skip]
2013-08-23 15:48:26 +05:30
Yves Senn
042c86d2bf
Merge pull request #11943 from suginoy/ar-order-notation
...
Add examples of AR order method's hash notation to Rails Guide [ci skip]
2013-08-22 06:43:55 -07:00
Sugino Yasuhiro
e744ac7b54
Add examples of AR order method's hash notation to Rails Guide [ci skip]
2013-08-22 19:14:51 +09:00
Paul Nikitochkin
9d9254f5e0
Added bug report template for ActionController
...
[ci skip]
2013-08-21 23:26:20 +03:00
Luka Marčetić
df52eee15f
Remove set_primary_key, replace with primary_key=
...
First deprecated, now removed: 9add7608f1 (activerecord)
/lib/active_record/attribute_methods/primary_key.rb
2013-08-21 04:54:27 +02:00
Prathamesh Sonpatki
eb11e350e4
Change the wording to explain following methods skip callbacks [ci skip]
2013-08-19 19:52:46 +05:30
Yves Senn
2fcef6678a
explain how to contribute to the documentation.
...
Follow-up to #11934
2013-08-19 14:00:33 +02:00
Rex Feng
331632585b
clarify instructions in contributing_to_ruby_on_rails.md for committing [ci skip]
2013-08-19 00:33:15 -04:00
Carlos Antonio da Silva
6846d9146b
Fix typo [ci skip]
2013-08-19 00:34:19 -03:00
Guillermo Iguaran
d1b618b50a
Merge pull request #11914 from pawel2105/development-dependencies-guides-fix
...
Memcached note for Rails guides [ci skip]
2013-08-18 15:11:25 -07:00
scaryguy
7c9f9dcc21
blorgh_engine to blorgh [ci-skip]
2013-08-18 20:50:23 +03:00
Vijay Dev
9abe72c760
Merge branch 'master' of github.com:rails/docrails
...
Conflicts:
actionview/README.rdoc
activerecord/lib/active_record/migration.rb
guides/source/development_dependencies_install.md
guides/source/getting_started.md
2013-08-17 21:49:16 +05:30
Vijay Dev
ec8ef1e105
Revert "Merge branch 'master' of github.com:rails/docrails"
...
This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing
changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9.
Seems to be a code merge done by mistake.
2013-08-17 21:46:39 +05:30
Xavier Noria
28189f2524
Merge pull request #11059 from robin850/improve-test-guide
...
Improve the testing guide [ci skip]
2013-08-16 09:26:06 -07:00
Pawel Janiak
7889e3da6c
Add note about installing and running Memcached for Rails test suite tests that depend on it. [ci skip]
2013-08-16 14:37:32 +02:00
Brendon Muir
92a03d888e
Use binary mode to write uploaded files [ci skip] See: http://stackoverflow.com/a/4988984/129798 for an explanation for why this is required for Ruby 1.9.
2013-08-16 23:33:59 +12:00
Ryan Bigg
dba4c6fe53
[getting started] Don't define resources :posts a second time + clarify messaging around 'Showing Posts' section
2013-08-16 07:54:09 +10:00
Rashmi Yadav
97d5ccf4f1
Added new line [ci skip]
2013-08-14 21:34:03 +02:00
Rashmi Yadav
a2aa1d434a
Added docs for 'remove' method [ci skip]
2013-08-14 21:32:22 +02:00
Yves Senn
41f50beb7e
document assert_not_XYZ
in place of refute_XYZ
.
2013-08-14 17:36:34 +02:00
Xavier Noria
aa6c6513df
Merge pull request #11617 from swooop/doc_sanitize
...
Added SanitizeHelper to rails guide docs [ci skip]
2013-08-14 07:47:22 -07:00
Yves Senn
2df6d7141b
Merge pull request #11756 from zilkey/master
...
added String#to_date documentation to Rails 4 upgrade guide [ci skip]
2013-08-13 23:56:37 -07:00
Thiago Pinto
70d6e16fba
Merge branch 'master' of github.com:rails/docrails
2013-08-14 02:02:38 -04:00
Thiago Pinto
ea4db3bc07
guides should tell people to write ruby code, not output
2013-08-14 02:02:27 -04:00
Steve Klabnik
4934f19a78
Merge pull request #11807 from jetthoughts/11804_actions_are_public_methods
...
Add description of action in Getting Started Guide [ci skip]
2013-08-13 10:49:14 -07:00
Steve Klabnik
c2f0ae737e
Merge pull request #11847 from AJ-Acevedo/master
...
Updated outdated initialization guide [ci skip]
2013-08-13 10:47:34 -07:00
AJ Acevedo
06344b9416
Updated outdated initialization guide [ci skip]
2013-08-13 13:02:29 -04:00
Paul Nikitochkin
0dd76e1900
#11804 : Add description of action in Getting Started Guide
...
[ci skip]
Closes #11804
2013-08-13 19:55:48 +03:00
Sadjow Leão
23c5d6d9ad
Add plural form example for AR I18n section [ci skip]
2013-08-13 00:06:03 -03:00
Steve Klabnik
adf3b5b79b
Merge pull request #11823 from fomede/add-jquery-ujs-reference-link
...
Add events reference link to the text about jquery-ujs [ci skip]
2013-08-12 08:11:11 -07:00
Sadjow Leão
d720c5408e
Add events reference link to the text about jquery-ujs [ci skip]
2013-08-12 11:51:10 -03:00
Ilya Vorontsov
ac02c190a5
Added comment to a guide about necessity of :dependent
option for associations with NOT NULL constraint
2013-08-12 17:50:35 +04:00
Sergey Kuznetsov
9d39577bd9
Add author_name field to post_params to the engines docs
2013-08-10 14:58:24 +04:00
Hiroshige Umino
b83985bc6b
Fix a broken link
2013-08-09 13:37:47 +09:00
Paul Nikitochkin
5602eebc63
Remove using of suffix with term. [ci skip]
2013-08-08 14:04:14 +03:00
AvnerCohen
abc75f0273
Minor align BR tags with HTML void - with reference to the generators code change - f038d4cc5f
2013-08-07 23:08:53 +03:00
Yves Senn
90e743f0fa
Merge pull request #10045 from senny/document_relative_url_root
...
document how to deploy to a subdirectory [ci skip]
2013-08-07 04:40:15 -07:00
Yves Senn
b76015bfd1
document how to deploy to a subdirectory. #2992 [ci skip]
2013-08-07 13:39:25 +02:00
Carlos Antonio da Silva
174f219339
Merge pull request #11784 from davetoxa/patch-2
...
Bump ruby version [ci skip]
2013-08-06 16:01:31 -07:00
Anton Cherepanov
043785ac7a
Bump ruby version [ci skip]
2013-08-07 03:33:56 +06:00
Anton Cherepanov
3e20ddd0d0
Bump ruby version [ci skip]
2013-08-07 03:31:33 +06:00
Paul Nikitochkin
99a9303849
#11759 : Update Assets Pipeline Guide
...
by default included to precompile only non-js/css files from `app/assets` and `application.(css|js)`
2013-08-06 14:30:46 +03:00
Jeff Dean
4400fec234
added String#to_date documentation to Rails 4 upgrade guide
...
[ci skip]
2013-08-06 00:56:31 -06:00
Prathamesh Sonpatki
e2bbc2bb2a
Removed confusing statements about routes in getting started guide [ci skip]
...
- routes for CRUD already exists as `resources :posts` is in
`config/routes.rb`
- So we don't have to add any new route in the `config/routes.rb`
- As per #11644 , the adding of routes which are already there confuses user, so here its
changed to referring output of `rake routes`
2013-08-05 21:18:41 +05:30
Xavier Noria
3baee0982d
migrations guide: fix and edits [ci skip]
2013-08-05 16:37:08 +02:00
Xavier Noria
538bd3633b
getting started guide: pass the resource to the URL helper [ci skip]
...
Passing the actual ID is not idiomatic.
2013-08-05 16:18:08 +02:00
Rafael Mendonça França
7b5a452bc9
Merge pull request #11677 from jaggederest/master
...
update guide to reflect default HMAC SHA1 in MessageVerifier used in SignedCookieStore
2013-08-04 07:30:12 -07:00
Rafael Mendonça França
7f7e16a837
Merge pull request #11749 from Alamoz/getting_started_guide
...
Added to 'Security' section in 'Getting Started with Rails' guide, including reference to 'Ruby on Rails Security Guide'.
2013-08-04 06:47:10 -07:00
Rafael Mendonça França
b61666ccf1
Merge pull request #11737 from tkhr/fix-document-about-on-validation-helpers
...
Fix active_record_validations.md document, `:save` for `on:` validation helper was never available
2013-08-04 06:40:04 -07:00
Takehiro Adachi
740f7787e0
Fix active_record_validations.md document, :save
for on:
validation helper was never available
...
According to the guide, ":save" value for the "on:" validation helper
was available like below
validates :name, presence: true, on: :save
but this was never available according to the implementation of the
valid? method, which is below
# Runs all the validations within the specified context. Returns
+true+ if
# no errors are found, +false+ otherwise.
#
# If the argument is +false+ (default is +nil+), the context is set
to <tt>:create</tt> if
# <tt>new_record?</tt> is +true+, and to <tt>:update</tt> if it is
not.
#
# Validations with no <tt>:on</tt> option will run no matter the
context. Validations with
# some <tt>:on</tt> option will only run in the specified context.
def valid?(context = nil)
context ||= (new_record? ? :create : :update)
output = super(context)
errors.empty? && output
end
So the documentation was always wrong since the PR proposed by
@neerajdotname ( #10287 ) was rejected.
2013-08-04 18:37:12 +09:00