bradleyscollins

bradleyscollins

Agile Web Development with Rails 8: B8.0 `text_area` remains in a few places (pp. 172, 268, 388, 463)

Just a few places where the text_area form helper (or references to it) did not get renamed to textarea:

p. 172

First paragraph after the code sample at the top of the page:

Rails has form helpers for all the different HTML-level form elements. In the
preceding code we use text_field, email_field, and text_area helpers to capture the
customer’s name, email, and address. …

p. 268

First paragraph:

With all of that back-end setup out of the way, we can now make our UI.
We’ll create this in the same way we’ve created other forms in our app,
with the exception of the text area. Instead of using the text_area() form
helper to make a regular HTML textarea tag, we’ll use rich_textarea(), which will
set up the Trix editor for us, enabling the UI part of Action Text.

p. 388

First line of page (line 9 of the code sample as a whole):

  <%= form.text_area :address, :rows => 3, :cols => 40 %>

Last paragraph of page:

You use the text_field() and text_area() helpers (on lines 4 and 9, respectively) to
gather single-line and multiline input fields. You may specify a placeholder,
which will be displayed inside the field until the user provides a value. …

p. 463

text_area() index entry:

text_area() method, 172, 268,
   388

Where Next?

Popular Pragmatic Bookshelf topics Top

jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
Mmm
Hi, build fails on: bracket-lib = “~0.8.1” when running on Mac Mini M1 Rust version 1.5.0: Compiling winit v0.22.2 error[E0308]: mi...
New
alanq
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
hazardco
On page 78 the following code appears: &lt;%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
taguniversalmachine
It seems the second code snippet is missing the code to set the current_user: current_user: Accounts.get_user_by_session_token(session["...
New
creminology
Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
PragmaticBookshelf
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New

Sub Categories: