Aaron Patterson
4c492865b1
reduce file stats by improving our dir glob pattern
2011-08-08 21:43:02 -07:00
Jon Leighton
6e2e06043e
Remove TODO comment I didn't mean to commit
2011-08-09 00:01:01 +01:00
Jon Leighton
f1c90cea9b
Bump arel version
...
Conflicts:
activerecord/activerecord.gemspec
2011-08-08 23:55:27 +01:00
Jon Leighton
c202c10965
Fully marshal AR::Base objects. Fixes #2431 .
2011-08-08 23:34:06 +01:00
Jon Leighton
dd944cbf58
Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
...
Conflicts:
activerecord/lib/active_record/relation/finder_methods.rb
activerecord/test/cases/adapter_test.rb
2011-08-08 23:33:31 +01:00
Santiago Pastorino
d008c99f72
Initialize config.assets.version the same way it's done in Sprockets
2011-08-08 12:51:39 -03:00
Joshua Peek
509a98a651
Merge pull request #2448 from igrigorik/master
...
Asset pipeline fixes: clear out tmp cache and use environment in digest generation
Conflicts:
railties/test/application/assets_test.rb
2011-08-08 09:45:10 -05:00
Xavier Noria
ed85772c12
guides generation: apparently this workaround for RedCloth is not needed anymore
2011-08-07 16:20:31 -07:00
Gregg Pollack
dfcecdecfa
Added irregular zombie inflection, so zombies no longer gets singularized into zomby
2011-08-07 11:36:20 -07:00
Santiago Pastorino
54357879ee
Merge pull request #2455 from vijaydev/patch-7
...
Edit changelog to mention about x_sendfile_header default change
2011-08-07 15:02:05 -03:00
Santiago Pastorino
eff7fddeb2
x_sendfile_header now defaults to nil and production.rb env file doesn't
...
set a particular value for it. This allows servers to set it through
X-Sendfile-Type, read
https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more
info. Anyways you can force this value in your production.rb
2011-08-07 13:13:19 -03:00
José Valim
33d02f1c4d
Test against 1.9.3 as well.
2011-08-07 14:48:44 +03:00
Santiago Pastorino
704e9c8c58
Merge pull request #2450 from guilleiguaran/activesupport-gzip-1.8
...
Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416
2011-08-06 17:20:47 -03:00
Santiago Pastorino
741151c275
Use rake >= 0.9.3.beta.1 in Ruby 1.9.3
2011-08-06 09:16:59 -03:00
Santiago Pastorino
7af63a98e7
Avoid generating app/views/layouts/application.html.erb on mountable engines, just generate the namespaced one
2011-08-05 21:28:14 -03:00
Santiago Pastorino
216d79ef63
Revert "to_key on a destroyed model should return nil". Closes #2440
...
This reverts commit c5448721b5 .
2011-08-05 19:40:05 -03:00
Santiago Pastorino
8118e419ff
Fix test for Rubinius
2011-08-05 16:49:50 -03:00
Guillermo Iguaran
b1be622b97
Fix AR test suite error under Rubinius 2.0
2011-08-05 11:51:12 -07:00
Xavier Noria
9efc57f2b7
Revert "Explicitly included hashes in sentence regarding SQL-injection-safe forms"
...
Reason: The hash form is secure, and preferred over the array form if possible.
This reverts commit 6dc749596c .
2011-08-04 16:57:43 -07:00
Xavier Noria
ab8747589b
Revert "grammatical changes"
...
Reason: As discussed in GitHub, it is debatable, and present tense
is fine (and simple, and preferred).
This reverts commit 54ccda9f0a5e4a5e72a4c159dc8787faaf65e8a2.
2011-08-04 16:57:38 -07:00
Rashmi Yadav
34d69b3d81
The trailing '/' isn't being picked up by Github anyway, and the link works as is.
2011-08-04 16:56:39 -07:00
Waynn Lue
3694a6c055
The trailing '/' isn't being picked up by Github anyway, and the link works as is.
2011-08-04 16:56:32 -07:00
JudeArasu
346cd04704
grammatical changes
2011-08-04 16:56:28 -07:00
Vijay Dev
b0cf7ead38
typo fix
2011-08-04 16:56:24 -07:00
Vijay Dev
19eb720122
minor changes in migrations guide
2011-08-04 16:56:20 -07:00
Vijay Dev
8207d0cb1c
fixed incorrect tags
2011-08-04 16:56:17 -07:00
pbflinn
690eae7e42
Fix typo 'console' -> 'constant'
2011-08-04 16:56:13 -07:00
Vishnu Atrai
6b361aa629
Active Resource - guide for destroy
2011-08-04 16:56:08 -07:00
Vishnu Atrai
566d2b91a5
Active Resource - guide for update/save
2011-08-04 16:50:08 -07:00
Vishnu Atrai
814e05e78f
Active Resource - guide for create
2011-08-04 16:50:03 -07:00
Vishnu Atrai
35eb96f65f
Active Resource - guide for reading and writing data
2011-08-04 16:49:59 -07:00
Waynn Lue
20251c86c8
typo in "wont"
2011-08-04 16:49:53 -07:00
Vijay Dev
ed246f53d2
3.1 release notes Active Record changes, Architectural changes and
...
organizing sections.
2011-08-04 16:49:48 -07:00
Arun Agrawal
e3e11092cd
Adding more info as rake about is fixed
2011-08-04 16:49:43 -07:00
Arun Agrawal
9232033cb1
Rack::Sendfile is no more default middleware.
2011-08-04 16:49:39 -07:00
Waynn Lue
478dc71cd4
"blog" is more common than "weblog" these days.
2011-08-04 16:49:34 -07:00
Vijay Dev
08f4a8c55c
3.1 release notes - added AP and Railties sections
2011-08-04 16:49:30 -07:00
Vijay Dev
d0161024b9
3.1 release notes draft
2011-08-04 16:49:26 -07:00
Vijay Dev
2fb540ed75
prefer to use if..end unless the condition is simple/compact
2011-08-04 16:49:20 -07:00
Vijay Dev
bac54a09b0
remove some parts of the section on shortcut helpers, document custom validators
2011-08-04 16:49:15 -07:00
Vijay Dev
c93adf85a7
make the warning clear about the effect of using validates_associated on both sides on an association.
2011-08-04 16:48:34 -07:00
Vishnu Atrai
88c101bb3f
usages of active resouce
2011-08-04 16:48:29 -07:00
Vishnu Atrai
d240ce8a54
configuration for active resource
2011-08-04 16:48:24 -07:00
Vishnu Atrai
35a028d45f
Introduction for active resource
2011-08-04 16:48:19 -07:00
Vishnu Atrai
dcb965b5f0
Active Resouce guide initial load
2011-08-04 16:48:13 -07:00
Bratish Goswami
e231c491c2
'/' was outside of anchor tag.
2011-08-04 16:48:09 -07:00
Waynn Lue
f21e8e04a9
Superfluous "the".
2011-08-04 16:47:35 -07:00
Arun Agrawal
8cefafbd38
Extra "l" removed before h2.
2011-08-04 16:47:22 -07:00
Vijay Dev
7e494f0bca
document meta method
2011-08-04 16:45:30 -07:00
ejy
740e531688
Removed trailing slash of 'Download and installation' Github URL as per convention
2011-08-04 16:45:25 -07:00