rails api 有用的链接

完全给自己用的


http://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html

ActiveRecord::QueryMethods
ActiveRecord::FinderMethods
ActiveRecord::NestedAttributes::ClassMethods
ActiveRecord::Observer
ActiveRecord::Migration
ActiveResource::CustomMethods
关于Query
http://guides.rubyonrails.org/active_record_querying.html

where boolean 不用 并列条件搜索


————————————————————————————————————————————————————————————————————

官方的association部分
ActiveRecord::Associations::ClassMethods

http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html

has_many :through
——————————————————————————————————————————————————————————————————————

update_all

http://api.rubyonrails.org/classes/ActiveRecord/Relation.html



—————————————————————————————————————————————————————————————————————
generate migration

http://api.rubyonrails.org/classes/ActiveRecord/Migration.html

________________________________________________________________________

form_tag

http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html

你可能感兴趣的:(html,Rails,ActiveRecord)