
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 usetext_field
,email_field
, andtext_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 thetext_area()
form
helper to make a regular HTMLtextarea
tag, we’ll userich_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()
andtext_area()
helpers (on lines 4 and 9, respectively) to
gather single-line and multiline input fields. You may specify aplaceholder
,
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
Popular Pragmatic Bookshelf topics










Other popular topics









Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /debian
- /sublime-text
- /textmate
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /spring
- /manjaro
- /django
- /diversity
- /nodejs
- /lua
- /c
- /julia
- /slackware
- /markdown