Activity
nice
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
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
how would you create an edit page with a form to edit the user profile
When i visit the root_path i have this error
undefined method `projects' for nil:NilClass
def index @projects = @account.projects.all end ..... def set_project @project = @account.projects.find(params[:id]) end ....
great job chris
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
How to add a new model to administrate dashboard ?
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
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
can we use mailer to send message like in a web contact form without saving the message into the database?