1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view
Carlos Antonio da Silva 9f98cf556d Rework form helper example to use Person.new
The previous change 92a3c8dcdf improved
this example, but calling .create + #valid? ends up running validations
twice, and we don't want to showcase that.

Lets use the normal use case of building a new object and calling #save
on it, which is what a basic scaffold with Active Record does.

[ci skip]
2015-03-21 14:56:24 -03:00
..
helpers Rework form helper example to use Person.new 2015-03-21 14:56:24 -03:00
locale
renderer Collections automatically cache and fetch partials. 2015-02-21 16:06:57 +01:00
tasks move cache_digests rake methods into their own namespace 2014-09-26 11:55:40 -07:00
template Collections automatically cache and fetch partials. 2015-02-21 16:06:57 +01:00
testing
base.rb Add documentation for local_assigns [ci skip] 2015-02-17 18:25:59 +05:30
buffers.rb handle <%== nil %> cases 2014-09-14 17:11:13 -07:00
context.rb
dependency_tracker.rb Fix dependency tracker bug 2015-02-25 14:57:29 +02:00
digestor.rb
flows.rb
gem_version.rb Start Rails 5 development 🎉 2014-11-28 15:00:06 -02:00
helpers.rb
layouts.rb [ci skip] Delete excess white in documentation 2015-03-05 23:25:47 +03:00
log_subscriber.rb
lookup_context.rb Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
model_naming.rb nodoc ActionView::ModelNaming module 2015-01-18 11:57:36 +05:30
path_set.rb
railtie.rb Merge multi_fetch_fragments. 2015-02-20 20:07:50 +01:00
record_identifier.rb Use existing constant for joining instead of '_' 2015-01-18 13:06:42 +05:30
rendering.rb Support :assigns option when rendering with controllers/mailers. 2015-01-22 00:25:50 +03:00
routing_url_for.rb move _generate_paths_by_default to where it is used 2015-03-01 13:35:24 -08:00
template.rb Merge pull request #18948 from kaspth/automatic-collection-caching 2015-02-25 11:54:07 -03:00
test_case.rb Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 2015-01-31 23:12:41 -05:00
version.rb
view_paths.rb Remove deprecated AbstractController::Base::parent_prefixes 2015-01-04 11:58:42 -03:00