Gabi Stefanini
b970ade252
Add Action View to Active Model API documentation
...
In Rails 4.1, Action View was extracted from Action Pack, but this
change was not reflected in the API documentation of ActiveModel::Model.
This commits makes it explicit in the documentation that Active Model
also interacts with Action View as well as Action Pack.
[ci skip]
2016-12-06 22:37:25 -05:00
Gabi Stefanini
f3d0762d6c
Fixes API wording to match API conventions
...
In ActiveModel::Model API documentation, referrences to Rails
components were tagged with fixed-width font and named as if
they were modules.This fixes the inconsistency to match API
documentation conventions.
[ci skip]
2016-12-06 22:36:49 -05:00
Rafael Mendonça França
fe1f4b2ad5
Add more rubocop rules about whitespaces
2016-10-29 01:17:49 -02:00
Xavier Noria
b326e82dc0
applies remaining conventions across the project
2016-08-06 20:20:22 +02:00
Eugene Gilburg
5bdb42159e
use attribute assignment module logic during active model initialization
2015-01-23 14:42:47 -08:00
Yukio Mizuta
097ca3f1f8
Use ActiveSupport::Concern instead of the traditinal way
2014-08-25 11:06:06 -07:00
deeeki
8a1468eef6
[ci skip] Clarify ActiveModel::Model docs
...
ActiveModel attributes initialized with String return String values
2014-06-14 02:13:50 +09:00
aditya-kapoor
fe49f432c9
Adding missing backslashes in active_model files so as to avoid unwanted links in rdoc [ci skip]
2013-12-27 13:58:31 +05:30
Fred Wu
85750d43fa
ActiveModel::Model inclusion chain backward compatibility
2013-06-20 12:16:17 +10:00
Fred Wu
0b502cb879
Fixes AciveModel::Model with no ancestors, fixes #11004
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-06-19 17:16:04 +02:00
Fred Wu
e3dc10f133
Fixed ActiveModel::Model's inclusion chain
2013-06-19 11:25:10 +10:00
Francesco Rodriguez
c9a88a2c26
minor edits in AM documentation [ci skip]
2012-10-21 01:26:01 -05:00
Vijay Dev
6b9d1a0db2
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
activemodel/lib/active_model/errors.rb
2012-06-30 23:15:22 +05:30
Francesco Rodriguez
cca9a21a82
update ActiveModel::Model documentation [ci skip]
2012-06-23 15:12:33 -05:00
Francesco Rodriguez
bc7ac33846
add :nodoc: to internal implementations [ci skip]
2012-06-22 16:29:59 -05:00
Michael de Silva
0631b26316
fix bad format [ci skip]
2012-04-14 11:58:43 +03:00
Oscar Del Ben
92a6cf0acd
Improve example in initializer
2012-04-14 10:35:44 +03:00
Vijay Dev
c0a7999115
minor corrections in AMo::Model docs [ci skip]
2012-03-05 22:46:44 +05:30
Guillermo Iguaran
247706e259
Use public_send instead of send in ActiveModel::Model initialize
2012-03-03 10:36:03 -05:00
Carlos Antonio da Silva
cb9d03f0d4
Add docs with usage examples for ActiveModel::Model
...
Also add test to ensure basic model does not explode when
initialized with nil.
2012-03-03 04:45:30 -03:00
Guillermo Iguaran
3b822e91d1
Add ActiveModel::Model, a mixin to make Ruby objects to work with AP inmediatly
2012-03-02 23:59:55 -05:00