Save 36% for Black Friday! Learn more

Tolase Kelvin Adegbite

Joined

950 Experience
0 Lessons Completed
1 Question Solved

Activity

Posted in TypeError: $(...).chosen is not a function

@chris OliverOliverOliverOliverOliverOliveOliverOlive

I'm glad for this pro template . Does it come with your threaded comments?

Posted in Can someone please do me a big favor?

Thank you Chris! Will work on that.

Posted in Can someone please do me a big favor?

Hi Guys! I don't know if this is right or wrong for posting this here. If wrong, you can please notify me and i'll delete this off.

I'm a big fan or Chris and GoRails because of the really nice tutorials and the effort of this community. I used to be a subscriber but offlate I've been so short of cash. If anyone could subscribe for me I'll really appreciate, thanks!

Posted in Global Autocomplete Search Discussion

 Hello Chris!

Thanks for this awesome tutorial. In my case i implemented search for two models, one for stories => "title", while the other one for users => "user_name". I got the stories part working but whenever i search for a user it queries it well but didn't show the user_name of the user in the dropdown menu, it displayed "undefined" and redirects me to the right path of the searched user... I'm thinking this caused by the search.js here:

var options = {
    getValue: "title",
    url: function(phrase) {
      return "/search.json?q=" + phrase;
    },
    categories: [
      {
        listLocation: "stories",
        header: "<strong>Stories</strong>",
      },
      {
        listLocation: "users",
        header: "<strong>Users</strong>",
      }
    ],
    list: {
      onChooseEvent: function() {
        var url = $input.getSelectedItemData().url
        $input.val("")
        Turbolinks.visit(url)
      }
    }
  } 

Posted in Global Autocomplete Search Discussion

Hello Chris!

Thanks for this awesome tutorial. In my case i implemented search for two models, one for stories => "title", while the other one for users => "user_name". I got the stories part working but whenever i search for a user it queries it well but didn't show the user_name of the user in the dropdown menu, it displayed "undefined" and redirects me to the right path of the searched user... I'm thinking this caused by the search.js here:

var options = {
    getValue: "title",
    url: function(phrase) {
      return "/search.json?q=" + phrase;
    },
    categories: [
      {
        listLocation: "stories",
        header: "<strong>Stories</strong>",
      },
      {
        listLocation: "users",
        header: "<strong>Users</strong>",
      }
    ],
    list: {
      onChooseEvent: function() {
        var url = $input.getSelectedItemData().url
        $input.val("")
        Turbolinks.visit(url)
      }
    }
  }

Posted in What are your goals for 2018?

  • Finish up my stories/series app i'm currently building (which am having issues with)
  • More commitment to my dear workout
  • Continue my Education.

Merry Xmas!

Please check this out...

BTW: I;m having issues with setting up in-app notifications
https://www.gorails.com/forum/how-do-i-set-up-in-app-notifications-on-my-app

Posted in I'm having issues with in-app notifications on my App

Thanks for your response man. I did... something like this:

json.url genre_story_episode_path(@genre, @story, episode.id)(notification.notifiable.episode, anchor: dom_id(notification.notifiable))

Posted in I'm having issues with in-app notifications on my App

Hello! Can someone please enlighten me on how to create notifications (In-app) for this type of routes
I want to display notifications when comments are made on episodes. This worked well when i did for genres and stories.

resources :genres do 
    resources :stories do
        resources :episodes do
            resources :comments
        end
    end
end

I actually want notifications for comments. Whwn i tried out the In-App notification tutorial on this website, i got an error undefined route "episode_path" in the** index.html.jbuilder file**, and i think i am not setting the notification URL well.
Help a friend.
Thanks.

Hi people! I'm trying to implement this to an app am building (I want to create the notifications for comments where the comment belongs to episode and episode belongs to story and genre)... When i checked out Notification.all in my console it outputted it but when i navigated to http://localhost:3000/notifications.json i got an error telling me that "undefined method `episode_path' for #<#class:0x157f1538:0x15149e68>"

Here is my index.json.jbuilder

json.array! @notifications do |notification|
    json.id notification.id
    # json.recipient notification.recipient
    json.actor notification.actor.user_name
    json.action notification.action
    json.notifiable do #notification.notifiable
        json.type "a #{notification.notifiable.class.to_s.underscore.humanize.downcase}"
    end
    json.url episode_path(notification.notifiable.episode, anchor: dom_id(notification.notifiable))
end

Thank You

Posted in In-App Navbar Notifications Discussion

Thanks for this course Chris. I'm trying to implement this to an app am building (I want to create the notifications for comments where the comment belongs to episode and episode belongs to story and genre)... When i checked out Notification.all in my console it outputted it but when i navigated to http://localhost:3000/notifications.json i got an error telling me that "undefined method `episode_path' for #<#<class:0x157f1538>:0x15149e68>"

Here is my index.json.jbuilder
https://uploads.disquscdn.c...

Posted in Global Autocomplete Search Discussion

I got it... I had to restart the server. sorry for disturbing the conversation.

Posted in Global Autocomplete Search Discussion

Hi everyone! please i get this error "undefined method `ransack' for #<class:0x1135dad8>".

Posted in How can I integrate Amazon Native Ads

Try and google for some answer bro..

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.