hey adam i was wondering to ask you, so im almost at junior level of rails and i haven't been learning detailed anything about test's , so i want to ask you is it worth learning test's now while im still progressing to junior, or should i concider it later on when my junior skills will be more reliable, because i would want to get a job in rails in about few months, so should i concider learning test now or later on? and if now can you recommend some good learning material, i know some basics of rspec, and factorygirl.
You can implement the feature on block option which will check if current user have you in his friends (list). If he has, you just delete current user account from his list, else, you don't need to do anything as that user wouldn't be able to send you message at all (if your network allows sending messages only to ones friends). If you simply list all users on the page, you can implement an array with ID numbers of blocked users and on listing users just add: - list all users - if currently processed user has current_user.id in his array, don't show it - else, show it
Thanks Adam for this great lesson and practical messaging app.
Excelent. I want implement this app in real time. what technologies you recommend me? websocket for example
+Mario josephndungu.com/tutorials/gmail-like-chat-application-in-ruby-on-rails this is a good tutorial showing real time with rails
+Adam Yarger Thanks :)
Adam Yarger hai
hey adam i was wondering to ask you, so im almost at junior level of rails and i haven't been learning detailed anything about test's , so i want to ask you is it worth learning test's now while im still progressing to junior, or should i concider it later on when my junior skills will be more reliable, because i would want to get a job in rails in about few months, so should i concider learning test now or later on? and if now can you recommend some good learning material, i know some basics of rspec, and factorygirl.
Where can I get some good tutorial for Testing.... rspeck, factory_girl, capybara
Great tutorial. I want to block the people to avoid messages from them. How can i achieve this?
You can implement the feature on block option which will check if current user have you in his friends (list). If he has, you just delete current user account from his list, else, you don't need to do anything as that user wouldn't be able to send you message at all (if your network allows sending messages only to ones friends).
If you simply list all users on the page, you can implement an array with ID numbers of blocked users and on listing users just add:
- list all users
- if currently processed user has current_user.id in his array, don't show it
- else, show it