Good Night Good Morning Good Evening

​​

​websites: ​the user %> <%= greet %> <%= current_user.name %>​

​a greeting to ​displaying something like ​, ​Information obtained from ​

​<# This should display ​I will be ​Time.now <= Time.now.beginning_of_day render :text =>"Good Morning" elsif Time.now <= Time.now.middle_of_day render :text => "Good Afternoon" elsif Time.now <= Time.now.change(:hour => 5 ) render :text => "Good Evening" elsif Time.now <= Time.now.change(:hour => 8 ) render :text =>"Good Night" end end​

​views.​def greet if ​
​this in my ​
​​