Definitions

Sorry, no definitions found. You may find more data at erb.

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word ERb.

Examples

  • .21 Rails then processes the layout, thereby substituting the content into the page at the appropriate place. 22 A second example of ERb in our layout is, but, unlike @con - tent for layout, @title is not created automatically by Rails.

    Recently Uploaded Slideshows midpoint 2009

  • We'd add that, for web programming, embedded Ruby (ERb) is a better PHP than PHP.

    Recently Uploaded Slideshows midpoint 2009

  • (Still, we don't recommend that you brag to your manager or client that you "wrote negative 1,000 lines of code yesterday.") 2.4.1 ERb, actions, and instance variables The layout in the previous section introduces our first example of the ERb template language mentioned briefly in Section 2.3.1.

    Recently Uploaded Slideshows midpoint 2009

  • We will see a less trivial example containing some ERb in Section 2.4.

    Recently Uploaded Slideshows midpoint 2009

  • In general, rhtml files consist of HTML combined with embedded Ruby (ERb) commands.

    Recently Uploaded Slideshows midpoint 2009

  • Here in the Page (Code) editor, you can navigate the 'composite' HTML page which has been constructed from Rails (ERb) Layout, View and Partial templates.

    RubyCorner 2008

  • The parentheses can be left out of a single command that is surrounded by ERb delimiters

    doggdot.us 2008

  • Indentation inside an ERb Ruby block should be aligned with the ERb delimeter, not the the Ruby statement, so this: end \% >

    doggdot.us 2008

  • Designing good-looking Rails applications using the standard ERb (or RHTML) templating system can often be a bit 'hit and miss'.

    RubyCorner 2008

  • Once you've finished designing your pages, the Visual Rails Workbench retranslates them back into ERb / RHTML and breaks them apart into their original format (the multiple Rails templates).

    RubyCorner 2008

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.