w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
run

run(preloader) Instance Public methods

new

new(klass, owners, reflection, preload_scope) Class Public methods

preloaded_records

preloaded_records() Class Public methods

run

run(preloader) Class Public methods

assign_attributes

assign_attributes(new_attributes) Instance Public methods Allows you to set all the attributes by passing in a hash of attributes with keys matching the attribute names (which again matches the column names). If the passed hash responds to permitted? method and the return value of this method is false an ActiveModel::ForbiddenAttributesError exception is raised. attributes=

attributes=

attributes=(new_attributes) Instance Public methods Alias for: assign_attributes

new

new(message, exception, attribute) Class Public methods

new

new() Class Public methods

[]

[](name) Instance Public methods

attributes_before_type_cast

attributes_before_type_cast() Instance Public methods Returns a hash of attributes before typecasting and deserialization. class Task < ActiveRecord::Base end task = Task.new(title: nil, is_done: true, completed_on: '2012-10-21') task.attributes # => {"id"=>nil, "title"=>nil, "is_done"=>true, "completed_on"=>Sun, 21 Oct 2012, "created_at"=>nil, "updated_at"=>nil} task.attributes_before_type_cast # => {"id"=>nil, "title"=>nil, "is_done"=>true, "c

Popular Articles
pcall() pcall (f [, arg1, ···]) Calls function f with the given arguments in protected mode. This means that any error inside f is not propagated; instead,
apc_store (PECL apc >= 3.0.0) Cache a variable in the data store bool apc_store ( string $key, mixed $v
base\Event $sender $sender public property The sender of this event. If not set, this property will be set as the object whose trigger() method is called. This prop
crypt.crypt() crypt.crypt(word, salt=None) word will usually be a user’s password as typed at a prompt or in a graphical interface. The optional salt is either
bootstrap\NavBar renderToggleButton() renderToggleButton() protected method Renders collapsible toggle button. protected string renderToggleButton ( )return string The rendering to


Page 2060 of 11844

|< < Prev 2057 2058 2059 2060 2061 2062 2063 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions