-
Introduction to the app and How an Instructor can create course https://www.loom.com/share/b17c792b2496475697bc44a18ff76173
-
How an instructor can add students https://www.loom.com/share/727c2b9a855441548ce66a0c2c96ce9b
-
Instructor preview course and edit course details price which needs bank account details
#app/controllers/concerns/authentication.rb | |
module Authentication | |
extend ActiveSupport::Concern | |
included do | |
before_action :require_authentication | |
helper_method :authenticated? | |
end |
import React, { useEffect, useState } from "react"; | |
import Followers from "./Followers"; | |
export default function App() { | |
const [isLoading, setIsLoading] = useState(true); | |
const [user, setUser] = useState(null); | |
const [activeUserIndex, setActiveUserIndex] = useState(0); | |
const users = ["prasanthchaduvula", "vipulnsward", "getify"]; | |
useEffect(() => { |
It's most popular server-side web application framework ( written in Ruby ) to build web applications. Build from simple to complex applications, there is no limits to what you can accomplish using Rails!. Ruby on Rails as framework it has collection of code, tools & utilities that give you a specific structure to work with when you’re writing software. Rails makes it much easier and more fun. It's a open source and opinionated software.
1. DRY - Don't Repeat Yourself means not writing the same information over and over again, so that our code becomes more maintainable, more extensible, and less buggy. 2. Convention Over Configuration - It provides a default way of doing things. It's is opinionated gives you everything you need to create a web application and follows all the best practices. you’ll be more productive & gets things done faster.
- First day I read 6 chapters of Michael Hartl ruby on rails book (except 1st chapter) and coded smaple_app along with it
- Second day I watched 30 lessons and coded eventz app along with it
- Today (3rd day) I watched remaining videos and completed the eventz app
- I want to go through active storage implementation once again and want to use amazon S3 as suggested in the video
- I learnt new patterns and the approach is beginner friendly
- The best part of rails is it's conventions, everything comes handy but at the same it's not easy to remember those conventions by doing it one time
- Needed more practice and I know the upcoming challnges or tasks make it more easy with rails conventions
- After doing grocery-store-challnge on day4 I started reading 99 bottles of OOP (Beer version in Ruby)
- When I was in first chaper - I took some time to understand the code first pattern of song. As first time I came to know about 99 bottles song lyrics.
- Once I got it and read the first chapter and practiced the four different patterns (Incomprehensibly Concise, Speculatively General, Concretely Abstract, Shameless Green)
- I got so much confident and at the core of the heart I was very happy as I came to know about four ways to solve the same problem
- I took five days to complete the book and practice the code
- I loved the book because it changed - the way of my thinking towards a problem
- Refactoring is never ending process - but it makes code better
- As it's said in challange - I solved grocery-store using oop.
- In these last two days I completed the RubyMonk primer and ascent
- After reading all documentation I understood the concept
- Yesterday I was confused about I/O and serializing topics and few more topics i was unconfident
- So today morning I decided to solve the grocery store challnge to gain confidence
- And I solved and published the repo and shared it thorught the google form
- I got self confidence and revised RubyMonk primer and ascent once again got cleared up the things
- Need to revise metaclasses
- Finally topics are clear and needed to solve more problems to gain confidence