Jordi Romero
b31ef7ee83
document ActiveRecord's except and only
...
Document methods that allow easily override arel queries
2011-01-15 01:17:53 +01:00
brainopia
da82b0a746
Remove reference to ActiveRecord from ActiveModel comments
2011-01-15 03:10:10 +03:00
Vijay Dev
93c208a630
use new AR api
2011-01-14 22:51:15 +05:30
Vijay Dev
31767b0032
ends_width => ends_with
2011-01-14 22:10:22 +05:30
Matt Buck
5f5e3b7e23
Copy-edit and format Rails::Engine docs.
2011-01-14 02:34:59 -06:00
Neeraj Singh
b461fe76f4
editing comments regarding rescuable optoin in AS callbacks
2011-01-12 22:37:34 -05:00
John Firebaugh
726a66a7a4
Expand and clarify AS::Callbacks docs.
2011-01-09 10:00:15 -08:00
Vijay Dev
4d29816fda
fixed query output
2011-01-09 02:24:30 +05:30
Vijay Dev
bc6e1a154a
fix template url
2011-01-08 23:35:36 +05:30
Ryan Bigg
f612069ae1
Fix documentation for validates_uniqueness_of to NOT have a :scope argument as the prime example. Show scope examples after prime example.
2011-01-06 20:10:01 +10:00
Ryan Bigg
a41d33431f
config guide: add basic description for disable_dependency_loading initializer
2011-01-06 20:10:00 +10:00
Ryan Bigg
27717655ad
Re-add "Using initializer files" section to configuring guide
2011-01-06 20:10:00 +10:00
Vijay Dev
75bfb4761c
fixes rubycentral url and a minor AR change
2011-01-06 03:24:34 +05:30
Karel Minarik
1877faa7ac
[FIX] Renamed ENV['LANG'] for generating translated guides to ENV['LANGUAGE'] so there's no mixup with OS env vars
2011-01-02 22:09:09 +01:00
Vijay Dev
a388c10f96
Fix typos and JavaScript case.
2011-01-03 02:08:08 +05:30
Xavier Noria
99424eb099
Revert "Update CHANGELOGs to include 3.0.3 changes"
...
Reason: Sorry, CHANGELOGs can only be edited in master.
If you provide a patch I'll apply it myself. Thanks!
This reverts commit 1f8ecb85d7 .
2011-01-02 00:20:59 +01:00
Vijay Dev
231e6b7e66
Merge branch 'master' of github.com:lifo/docrails
2011-01-02 02:54:36 +05:30
Vijay Dev
ebb732a7ec
fix typos
2011-01-02 02:53:15 +05:30
Prem Sichanugrist
1f8ecb85d7
Update CHANGELOGs to include 3.0.3 changes
2011-01-02 03:35:38 +07:00
Karel Minarik
56221faecd
Added support for generating translated guides (stored in source/<LANG>) via setting the LANG environment variable
2011-01-01 18:01:11 +01:00
Xavier Noria
65d389955f
Merge branch 'master' of git://github.com/lifo/docrails
2010-12-31 10:22:34 +01:00
Ryan Bigg
224e2d478a
Routing guide: clarify what the :as option does for scopes
2010-12-31 17:50:37 +10:00
Ryan Bigg
9aef64f7a3
Routing guide: move scope documentation down to where it is referenced more plainly
2010-12-31 17:45:03 +10:00
Ryan Bigg
eaf67ca9c3
Routing guide: improve documentation for the scope method, demonstrating use of named parameters
2010-12-31 17:38:38 +10:00
Timothy N. Tsvetkov
e5b84fd723
ActionController::Base.helpers.sanitize ignores case in protocol
...
[#6044 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-12-30 22:43:43 -02:00
Pratik Naik
573fd39e22
Make sure Model#touch doesn't try to update non existing columns
2010-12-30 18:42:18 +00:00
Xavier Noria
eb1e727544
contrib_guide.gsub!("aptitude", "apt-get")
...
It turns out aptitude has been removed from Ubuntu 10.10
and while you can manually install it, apt-get is the
blessed package manager. Google for "aptitude removed
from Ubuntu" for more details. Thanks to Rafael Mendonça
França for pointing this out.
2010-12-30 07:13:04 +01:00
Nick Sutterer
db24701abe
process_action accepts multiple args, even with Callbacks.
2010-12-29 16:37:10 -08:00
Xavier Noria
69765aad8b
Merge branch 'master' of git://github.com/lifo/docrails
2010-12-29 23:46:03 +01:00
Pratik Naik
0ac66caac5
Fix Duration#to_json
2010-12-29 22:20:14 +00:00
David Heinemeier Hansson
43433b3fb4
Instance methods shouldnt be added until you actually call has_secure_password
2010-12-29 10:18:14 -08:00
Pratik Naik
fd1cf13f74
Make serialized fixtures work again
2010-12-29 16:15:45 +00:00
Cheah Chu Yeow
6f58b9ad53
Fix typo in ActionPack changelog.
2010-12-29 19:36:00 +08:00
Cheah Chu Yeow
a21a3d1f44
Remove link to outdated Github tag comparison in ActionPack changelog.
2010-12-29 19:35:33 +08:00
Xavier Noria
83e1938916
renames the contrib guide in the index
2010-12-29 11:42:11 +01:00
Xavier Noria
5fc02dbd03
since a lot of people use Ubuntu, document specific aptitude calls for some C dependencies in the contrib guide
2010-12-29 11:38:54 +01:00
Santiago Pastorino
bf22b287a4
Do not use primary key on insertion when it's nil
2010-12-29 01:22:43 -02:00
Ryan Bigg
60447d8b00
Routing guide: mention that routes are matched from the top down in a note.
2010-12-29 10:57:59 +10:00
Neeraj Singh
27d0d4fffd
while defining callbacks option :rescuable => true
...
can be passed. There were no tests for this case.
This patch adds a test for :rescuable => true
option.
2010-12-29 05:32:23 +08:00
Vijay Dev
dd166c60c4
fixed incorrect spacing from 9836854671
2010-12-29 02:09:47 +05:30
Vijay Dev
9836854671
fixed examples & minor typos
2010-12-29 02:07:22 +05:30
Xavier Noria
6b43a3a627
complete revision of the Contributing to Ruby on Rails guide
...
* adds instructions for PostgreSQL
* adds references to mysql2 here and there
* puts documentation contributions on par with code contributions
* adds a section about Rails Contributors
* documents C dependencies for Nokogiri and the database libs
* everything double-checked and revised step by step
* adds a section about warnings in the test suite
* removes section about the Rails wiki
* title and filename renamed
* overall rewording
2010-12-28 20:36:42 +01:00
Santiago Pastorino
eb2ebe7680
Simplify inspect implementation
...
After 304d38c053 we don't need the
new_record? check anymore.
2010-12-28 15:45:35 -02:00
Karel Minarik
9f75545e5d
Added information about invoking migrations in non-default environments to NOTE box in the "Getting Started" guide
...
Reason: When the guide already mentions "default environment", I think it is more then appropriate to tell the whole story.
2010-12-28 17:30:13 +01:00
Karel Minarik
cb4b5c8ad3
Adding information and link to guide on customizing generators into "Getting Started" guide.
2010-12-28 16:38:50 +01:00
Santiago Pastorino
304d38c053
Allow primary_key to be an attribute when the model is a new record
2010-12-28 10:11:27 -02:00
Karel Minarik
8031b7e42b
Fixed incorrect instructions for calling the rails command explicitely in the "Getting Started" guide
2010-12-28 10:25:55 +01:00
Karel Minarik
e2c2c2983a
Added TIP box with information about the --database switch for the application generator in the "Getting Started" guide
2010-12-28 09:25:18 +01:00
Karel Minarik
8e8c13ab1e
Fixed incorrect command for displaying options for new application Generator in Getting Started guide
2010-12-28 08:45:09 +01:00
Ryan Bigg
bb99c944d3
There's a couple -> There are a couple
2010-12-28 17:32:41 +10:00