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
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


model_name_from_record_or_class

model_name_from_record_or_class(record_or_class) Instance Public methods

convert_to_model

convert_to_model(object) Instance Public methods Converts the given object to an ActiveModel compliant one.

detail_args_for

detail_args_for(options) Instance Protected methods Compute details hash and key according to user options (e.g. passed from render).

with_fallbacks

with_fallbacks() Instance Public methods Add fallbacks to the view paths. Useful in cases you are rendering a :file.

view_paths=

view_paths=(paths) Instance Public methods Whenever setting view paths, makes a copy so we can manipulate then in instance objects as we wish.

template_exists?

template_exists?(name, prefixes = [], partial = false, keys = [], options = {}) Instance Public methods Alias for: exists?

find_template

find_template(name, prefixes = [], partial = false, keys = [], options = {}) Instance Public methods Alias for: find

find_all

find_all(name, prefixes = [], partial = false, keys = [], options = {}) Instance Public methods

find

find(name, prefixes = [], partial = false, keys = [], options = {}) Instance Public methods Also aliased as: find_template

exists?

exists?(name, prefixes = [], partial = false, keys = [], options = {}) Instance Public methods Also aliased as: template_exists?

Page 300 of 2275

|< < Prev 297 298 299 300 301 302 303 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions