Recent months AirPlay on my AppleTV has been disabled with no reason.
Until now I connected AppleTV to my home network via Ethernet cable.
Just now I found that AirPlay-Ethernet feature on AppleTV has been discontinued. To resolve the issue, I changed the network connection from Ethernet to Wi-Fi connection.
Though I don't want to make Wi-Fi bandwidth crowded, I have no other choice than Wi-Fi.
--------------
The route cause was the Wi-Fi router itself: after that the same issue appeared again. Rebooting the Wi-Fi router resolved the issue.
2013年5月11日土曜日
2013年5月7日火曜日
[Rails4] named route with helper in routes.rb
http://ruby.railstutorial.org/chapters/filling-in-the-layout?version=4.0#sec-rails_routes
In rails4, the notation of routes.rb has been changed:
Rails3:
Rails4:
SampleApp::Application.routes.draw do
root to: 'static_pages#home'
get 'help' => "static_pages", as: 'help'
get 'about' => "static_pages", as: 'about'
get 'contact' => "static_pages", as: 'contact'
Enjoy!
In rails4, the notation of routes.rb has been changed:
Rails3:
SampleApp::Application.routes.draw do root to: 'static_pages#home' match '/help', to: 'static_pages#help', via: 'get' match '/about', to: 'static_pages#about', via: 'get' match '/contact', to: 'static_pages#contact', via: 'get' . . . end
Rails4:
SampleApp::Application.routes.draw do
root to: 'static_pages#home'
get 'help' => "static_pages", as: 'help'
get 'about' => "static_pages", as: 'about'
get 'contact' => "static_pages", as: 'contact'
Enjoy!
2013年5月3日金曜日
[ruby] rvm vs rbenv
Today I found that i installed rvm and rbenv simultaneously. OMG.
I had to remove rbenv and rvm, then chose rvm.
I had to remove rbenv and rvm, then chose rvm.
登録:
投稿 (Atom)