Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Rails 8 Course - Beginner to Intermediate!
You have completed Rails 8 Course - Beginner to Intermediate!
Preview
This video covers adding Action Text to a Rails application, enabling rich text editing and image attachments for posts, configuring user ID tracking for posts, and refining the user interface to enhance usability.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So when we go to create a new post,
there's going to be a special rich text
0:00
here so that we can make our text bold, we
can make it italic, we can attach images.
0:02
So let's go ahead and do that.
0:07
It's going to be really useful and
obviously it's a feature of Twitter, so
0:08
we need to go ahead and do that.
0:10
So the first thing that we're
going to do is stop the server.
0:11
And then inside of here we're going
to run a command by just run clear.
0:13
We're going to run a command
called rails action underscore.
0:16
If I just make this full screen so
you can see, rails action_text:install.
0:20
Action text is the gem that we're
going to be doing this with.
0:25
So hit Enter on that command,
then run rails db migrate.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up