How to Use ActionText in Rails 6

Sdílet
Vložit
  • čas přidán 10. 06. 2024
  • ► Check out gorails.com for Pro episodes and more!
    ► Ruby on Rails hosting with Hatchbox.io! hatchbox.io
  • Věda a technologie

Komentáře • 22

  • @AilisonCarvalho
    @AilisonCarvalho Před 5 lety +1

    Perfect. Can't wait for part 2. :D

  • @GeorgKeferboeck
    @GeorgKeferboeck Před 4 lety +1

    Boom ... FINALLY. It was about time.

  • @hoangdinh2599
    @hoangdinh2599 Před 5 lety

    Thanks. It's really helpful.

  • @DGDG0000000
    @DGDG0000000 Před 5 lety +1

    Fantastic !

  • @FranciscoHernandez-ij3kd

    Great video!! Thank you

    • @FranciscoHernandez-ij3kd
      @FranciscoHernandez-ij3kd Před 4 lety

      How can I make it so that upon someone submit the sign up button it goes to the admin for approval for them to be allow to actually sign up . Have you created something like that before? Thanks

  • @NepaliIam
    @NepaliIam Před 4 lety

    Great video. But how can we edit the trix editor? For example add h1 tag.

  • @2G1B
    @2G1B Před 5 lety +1

    Awesome!

  • @ClaudineyPerbony
    @ClaudineyPerbony Před 5 lety +1

    Great! thks a lot!

  • @eFFecTzz56
    @eFFecTzz56 Před 4 lety

    Hi , nice content!) How i can validate attachment details on rails and how constraint count of symbols on post with rich text? Thanks)

  • @estah0
    @estah0 Před 3 lety

    This is awesome, however would be nice to have color picker for coloring text

  • @DavidBetancourtMont
    @DavidBetancourtMont Před 4 lety

    A question...
    How can I show the first attached image in thumbnail?

  • @McAko
    @McAko Před 5 lety +1

    what did you define inside the template.rb to create a new app?

    • @GorailsTV
      @GorailsTV  Před 5 lety +1

      I'm using the Jumpstart Ruby on Rails Template I made czcams.com/video/ssOZpISfIfI/video.html

  • @juliobenavides9705
    @juliobenavides9705 Před 2 lety

    Great video! Does it work if I use this solution to send an e-mail from a ruby on rails app instead of doing posts? Does the receiver will see the rich text and the attachments correctly? Thanks in advance.

    • @GorailsTV
      @GorailsTV  Před 2 lety +1

      It will render as HTML so it will show up fine in emails, but you might need to inline css.

    • @juliobenavides9705
      @juliobenavides9705 Před 2 lety +1

      @@GorailsTV Thank you for your quick answer.

  • @MarekDlugosVideos
    @MarekDlugosVideos Před 5 lety +1

    I have been following the tutorial closely, however, I was not able to resolve the issue which you resolved purely by uncommenting gem 'image_processing', '~> 1.2'. Picture in my post would still remain broken.
    I am running Rails 5.2.2, Ruby 2.6.0, and I am also using mini_magick gem after following your other tutorial on user avatars. Any chance that this can cause the problem?

    •  Před 4 lety +1

      Had the same issue. This message was the hint to solve it:
      You must have ImageMagick or GraphicsMagick installed
      brew install imagemagick solved it in the end

    • @Anthony-wg7fn
      @Anthony-wg7fn Před 2 lety

      @ sure did. thanks

  • @fugeeohu9357
    @fugeeohu9357 Před 3 lety

    Does anyone know how to migrate data from ckeditor to actiontext?

  • @sircosm
    @sircosm Před 4 lety

    After installing using the 'template.rb' script (and along with '-d postgresql') , none of the Bootstrap classes were added to the _form.html.erb file (or any view files for that matter). I also noticed that the 'User' model created from the template, does not have any associations contrary to your video which has all associations added automatically inside your 'User' model. I checked the install logs and could not find any errors or warnings; webpacker seemed to have installed fine as well. I'm using Rails 6.0.2.1 and am not using Foreman since I assume it is not necessary (since you didn't use it in the video either). The OS with RoR installed is Windows Subsystem for Linux (WSL) with PostgreSQL installed on my Windows host. But I'm able to connect to the DB successfully so I don't think this should be the cause of the issue occurring. Any thoughts ?