Xavier Noria
7c52da44ed
Revert "Created a new Troubleshooting section in the migrations guide."
...
Mismatches between migrations and constants have nothing to do with
pluralization rules or model names. The mismatch happens between
the camelization of the filename minus timestamp, and the name of
the migration class itself.
This reverts commit 1c21f75f1b32ee8723c74a9bc7af70dfa02a509c.
2011-02-18 23:03:54 +01:00
Xavier Noria
2acb5e348d
removes unrealistic example (authentication plus gender?), that it is not needed anyway
2011-02-18 22:54:02 +01:00
Nicholas Rowe
ad3e4e3af6
Clarify Example in ActiveRecord base
2011-02-18 14:43:53 -05:00
Nicholas Rowe
7d9a80be93
Remove awkward phrasing from Ajax on Rails guide
2011-02-17 20:49:25 -05:00
Nicholas Rowe
9a9d895481
Fix Typos: remove several occurences of the the
2011-02-17 20:46:52 -05:00
Nicholas Rowe
a906deabc6
fix type: remove extra period
2011-02-17 20:34:22 -05:00
Kedar Mhaswade
1c21f75f1b
Created a new Troubleshooting section in the migrations guide.
...
Added a bullet point there showing how the Uninitialized Constant
(missing migration class) error looks like.
2011-02-17 16:27:01 -08:00
genlinux
23a5be74ce
commas to set off expressions that interrupt sentence flow
2011-02-17 22:40:58 +05:30
Brian Durand
017012b43a
Add description of transaction callbacks to ActiveRecord callbacks guide.
2011-02-17 10:18:56 -06:00
Brian Durand
fead0fc448
update caching guide with the changes to ActiveSupport::Cache from the 3.0.0 release.
2011-02-17 10:14:22 -06:00
Vijay Dev
465dd379e4
fix typo
2011-02-17 17:19:51 +05:30
Vijay Dev
ed630dfc72
fix typo
2011-02-17 16:59:03 +05:30
Jimmy Cuadra
bd7d8665a0
add note about observer config for rails apps
...
ActiveModel::Observer and ActiveRecord::Observer have similar
documentation, but a Rails user looking at the ActiveModel version
might not realize that a change to config/application.rb is
required to activate the observer. This change adds a note to
that effect, pointing to the AR version from the AM version.
2011-02-16 14:15:48 -08:00
Xavier Noria
5444ed56ab
Revert "Fix error: docrails is a fork, not a branch."
...
Reason: Calling docrails a "branch" is fine, no need to change the terminology. It is a remote in my machine, and it has been called branch since the very beginning: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
This reverts commit 35a266edfd9ac0f3afe7f7f13c2dcf29cb4b651f.
2011-02-15 22:17:25 +01:00
Steve Schwartz
f4ddb4da89
Added RDoc info for accepted options for simple_format in TextHelper.
2011-02-15 12:58:57 -05:00
Ben Orenstein
35a266edfd
Fix error: docrails is a fork, not a branch.
2011-02-15 11:51:07 -05:00
Ben Orenstein
25e3d2caf4
Correct bad wording in description.
2011-02-14 20:41:32 -05:00
Dan Neumann
a1cc07c35e
Added --sandbox option to rails console explanation.
2011-02-13 18:14:05 -06:00
Dan Neumann
f7a31ce1cd
Added simple demonstration of has_many :through
2011-02-13 17:50:39 -06:00
Mike Gehard
0617d3e3c6
change plugins guide to favor gem based plugins, clean up to reflect the state of Rails3 plugins, remove information not compatible with Rails3.
2011-02-13 14:21:17 -07:00
Xavier Noria
69f07dad62
the shell prompt for non-root sessions is "$" by convention
2011-02-13 01:40:32 +01:00
Xavier Noria
bc6554f63c
Revert "Add note about running bundle install
as root. Solves issue with '#' not being rendered, and it's more clear for beginners."
...
Reason: Running bundle as root is not recommended.
This reverts commit 0d40e2c397c9ce92c839a3c318ed8757cf213413.
2011-02-13 01:37:37 +01:00
Corey Ward
0d40e2c397
Add note about running bundle install
as root. Solves issue with '#' not being rendered, and it's more clear for beginners.
2011-02-12 08:12:24 -08:00
jonnii
46ebbcd56b
Change fenomenal to phenomenal.
2011-02-10 12:22:19 -08:00
Vijay Dev
0db9de6cf6
updated reference to remote_form_for
2011-02-11 00:17:03 +05:30
Vijay Dev
f68287f0be
fix typos, minor edits
2011-02-10 23:37:55 +05:30
Gabriel Horner
b3dad5deb9
add some docs for ActionController::Renderers
2011-02-10 00:16:06 -05:00
John Paul Ashenfelter
04eaacca96
replaced MODEL.human_name with MODEL.model_name.human now that .human_name is deprecated
2011-02-09 11:23:42 -05:00
Vijay Dev
435bf4ca4b
minor fixes in generators
2011-02-09 03:18:12 +05:30
Kevin Skoglund
77582075a6
Add note that validates_length_of will incorrectly pluralize min. length 1
2011-02-07 09:25:22 -05:00
Paul Annesley
58dccf305a
ActiveRecord :default_timezone is :utc in Rails, as set by active_record/railtie.rb
2011-02-06 16:04:29 -08:00
Vijay Dev
cc2b2719d8
fix minor typo
2011-02-07 01:34:12 +05:30
Henry Phan
742f5f4a5d
Add CSS fix for WebKit/Mac rendering issue.
2011-02-05 13:09:35 -08:00
Xavier Noria
8b5dc9caa5
Merge branch 'master' of git://github.com/lifo/docrails
2011-02-05 19:47:08 +01:00
Gabriel Horner
277327bb7f
improve routing docs, mostly for #match
2011-02-05 13:12:49 -05:00
Brian Morearty
c56e314866
Updates to ActiveRecord::Timestamp documentation.
...
Change ActiveRecord::Base.xyz to config.active_record.xyz in docs.
Remove <tt> from code samples.
Update skip_time_zone_conversion_for_attributes code sample: put the call in the model class.
Clarify that skip_time_zone_conversion_for_attributes skips converion when reading.
2011-02-05 09:07:00 -08:00
Aaron Patterson
59f7780a34
adjust query counts to be consistent across databases, make sure database log the same things
2011-02-04 18:14:59 -08:00
Aaron Patterson
acccb72cb1
column cache now lives on the connection pool
2011-02-04 18:14:59 -08:00
Aaron Patterson
c94651f8c8
almost fisted
2011-02-04 18:14:59 -08:00
Aaron Patterson
0cd42864e3
making sure primary key is set on the columns
2011-02-04 18:14:59 -08:00
Aaron Patterson
5f3cf4244d
connection pool can cache column, table, and primary key information
2011-02-04 18:14:59 -08:00
Santiago Pastorino
78d23edf9a
Remove stupid mistake
2011-02-04 21:49:56 -02:00
Santiago Pastorino
da2d24f7cf
git am is better here
2011-02-04 21:36:10 -02:00
Ben Orenstein
4b2889e771
Correct migration name the test is looking to match.
...
[#6375 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-04 20:25:13 -02:00
Edward Faulkner
909588d964
Fixing ordering of HABTM association deletion [ #6191 state:resolved]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-04 19:39:59 -02:00
Aaron Patterson
df07760486
introduce a fake AR adapter for mocking database return values
2011-02-04 13:34:57 -08:00
german
adbae9aab8
fixed bug with nested resources within shallow scope
...
[#6372 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-04 17:07:51 -02:00
Brian Morearty
3a29bfae2c
Change Time.zone= docs.
...
Update the example to show how to reset the current thread's
Time.zone upon exiting a request.
2011-02-04 09:10:07 -08:00
Kevin Skoglund
94175c0e39
Improve regex in rake db:migrate status [ #5940 state:resolved]
...
[#5940 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-04 12:59:06 -02:00
Gabriel Horner
ac15647bf0
keep options titles consistent to "Options"
2011-02-03 23:51:06 -05:00