Jeremy Kemper
96c45a8118
Don't use deprecated render API. Cosmetics.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-04 05:07:26 +00:00
David Heinemeier Hansson
e278b72bf3
Fixed a few find_alls
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 23:38:03 +00:00
Marcel Molina
6186490962
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-29 18:10:14 +00:00
David Heinemeier Hansson
6d7335752a
Comments, comments
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:40:42 +00:00
David Heinemeier Hansson
faecde0ec8
My beautiful eyes [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:39:13 +00:00
Michael Koziarski
c6abe81b1e
Add verification to scaffolds (generated and reflection based). Require POST for unsafe actions [Michael Koziarski]. Closes #2601
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-14 01:57:12 +00:00
David Heinemeier Hansson
0439769324
Refactored away all the legacy validate_options calls and replaced them with Hash#assert_valid_keys
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 08:32:47 +00:00
David Heinemeier Hansson
eec7cc004b
Fixed dynamic scaffolding [Stefan Kaes]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 11:44:18 +00:00
David Heinemeier Hansson
b7f37d3ef9
Fixed a bug with alternate layout #1468 [sam]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:49:17 +00:00
David Heinemeier Hansson
cb79118111
Fixed double-singularization on scaffolded pagination call (Address would be turned into Addres) #1216 , #1404 [nilsga]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-15 04:17:45 +00:00
Jeremy Kemper
3cb26e9cb3
r2495@sedna: jeremy | 2005-05-27 22:07:18 -0700
...
Branch to have scaffold use new render methods
r2496@sedna: jeremy | 2005-05-28 10:50:51 -0700
axe unused process_request method
r2497@sedna: jeremy | 2005-05-28 10:51:58 -0700
sanity assertions in process method check that @controller, @request, @response are set
r2498@sedna: jeremy | 2005-05-28 10:53:42 -0700
clean up escaping. use instance_variable_get instead of instance_eval. put id in form action instead of hidden input (like the generated scaffolding)
r2499@sedna: jeremy | 2005-05-28 10:54:46 -0700
clean up interpolation, remove tabs from stylesheet
r2500@sedna: jeremy | 2005-05-28 10:56:40 -0700
modernize dynamic scaffolding. use params[:id] instead of @params[id]. use consolidated render method instead of render_action, render_file, etc. use builtin inflections rather than module methods.
r2501@sedna: jeremy | 2005-05-28 11:00:26 -0700
modernize generated scaffolding. use new-style assertions; use params[:id] instead of @params[id]; use consolidated render method instead of render_*
r2542@sedna: jeremy | 2005-06-12 02:24:06 -0700
use :id => model instead of :id => model.id. clean up the form helper method. use flash[:notice] instead of flash['notice'].
r2543@sedna: jeremy | 2005-06-12 02:33:22 -0700
whitespace
r2544@sedna: jeremy | 2005-06-12 02:56:57 -0700
update changelogs
r2545@sedna: jeremy | 2005-06-12 03:26:23 -0700
test dynamic form help when @post is not a new record
r2546@sedna: jeremy | 2005-06-12 03:44:14 -0700
touch up TestCase#process sanity assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-12 05:33:23 +00:00
David Heinemeier Hansson
7c8d2f28e1
Removed broken attempt to DRY module ClassMethod #970
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-02 09:29:43 +00:00
David Heinemeier Hansson
c788bcb416
Automatically extend the class which gets a module included with the ClassMethods module if it exists #970 [Lucas Carlson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-02 09:14:19 +00:00
David Heinemeier Hansson
3532455404
Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-02 09:11:17 +00:00
David Heinemeier Hansson
2a947f185a
With const_missing loading, its no longer necessary to dynamically require the scaffold model -- meaning the end of RDoc warnings!
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 12:54:30 +00:00
David Heinemeier Hansson
c4a3de5013
Fixed the scaffolding/routing issue for real
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:09:28 +00:00
David Heinemeier Hansson
9be37c9b20
Fixed scaffolding and routes conflict #669
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 17:10:04 +00:00
David Heinemeier Hansson
8151c4e84d
Fixed that on validation errors, scaffold couldn't find template #654 [mindel]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:07:02 +00:00
David Heinemeier Hansson
b1999be5a7
A hopefully more successful attempt at the Routing branch merge
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5
Backed out of routing merge.. investigating missing patches
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a
Merged back the Routing branch
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
098fa94356
Fixed documentation snafus #575 , #576 , #577 , #585
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:15:53 +00:00
David Heinemeier Hansson
db045dbbf6
Initial
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00