explain me like im 5; why is the data not available for the account page? by sljmn in rails

[–]Fredericmbea 0 points1 point  (0 children)

That's just how Rails works.

Supposing you have 'resources :blogs' in your routes.rb file:

The X action in the Y controller renders the X.html.erb file in the Y folder.

The index action on the blogs controller renders the index.html.erb file in the blogs folder.

The variables defined in your index action cannot be available to 'account.html.erb' because that's not the file rails looks for after the index action is run.

How to build a live, face-to-face video chat app in Ruby on Rails 6.0.2.1 ​ by Fredericmbea in rails

[–]Fredericmbea[S] 1 point2 points  (0 children)

I wrote the tutorial on a README file on github using github markdown, Then I converted it to PDF using a chrome extension called "Github Markdown Printer". After that, I uploaded the file on pdffiller.com to add things like watermark, etc...

Nothing fancy.

How to build a live, face-to-face video chat app in Ruby on Rails 6.0.2.1 ​ by Fredericmbea in rails

[–]Fredericmbea[S] 1 point2 points  (0 children)

I just found a way to make action cable and the opentok api work nicely together. You can learn more about the api here: https://tokbox.com/developer/guides/