Foliwe Fossung

Joined

1,630 Experience
15 Lessons Completed
0 Questions Solved

Activity

I really these love this series

Posted in Liking Posts Discussion

i think it will be more interesting if it can be done with Stimulus Reflex

Posted in Infinite Scroll in Rails with Stimulus.js Discussion

I don't get the pageYOffset on my console when I test. They are no errors displayed.

scroll(){
console.log(window.pageYOffset);
}
}

div data-controller="infinite" data-action="scroll@window->infinte#scroll"

my stimulus controller is infinite_controller.js

Posted in Create a User Profile after saving a Devise User

how would you create an edit page with a form to edit the user profile

it's really hard getting respond hereĀ 

Hi @Chris i have this error and i don't know why . i have a project model instead of a post model
When i visit the root_path i have this error
undefined method `projects' for nil:NilClass

project controller
  def index
    @projects = @account.projects.all 
  end
.....  def set_project
      @project = @account.projects.find(params[:id])
    end
....
help neeed

Posted in File Uploads with Refile Discussion

please can you make a deployment to heroku with aws video with refile gem

Posted in File Uploads with Refile Discussion

please can you make a deployment to heroku with aws video with refile gem

Posted in Admin Interfaces with Administrate - GoRails

How to add a new model to administrate dashboard ?

Posted in Admin Interfaces with Administrate - GoRails

it seems this gem has been updated. because following this tut, nothing works. the route file is
Rails.application.routes.draw do
namespace :admin do
resources :users
resources :articles

root to: "users#index"
end
i see no dashboard manifest files. Somethings have change. localhost:3000/admin results to errors

Posted in User Authentication with Devise | GoRails

am trying to set up a simple blog with devise.How can i restrict users from editing the profiles of other users. so mush so that if the try something users/edit.3, there will be redirected to somewhere with flash message. Thanks

Posted in Sending Emails with SMTP and Sendgrid Discussion

can we use mailer to send message like in a web contact form without saving the message into the database?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.