Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

どんどん使う

795 views

Published on

COOKPADのおける限定公開の仕方を紹介します

Published in: Technology
  • Be the first to comment

  • Be the first to like this

どんどん使う

  1. 1. 田 
  2. 2.   文        手    
  3. 3.
  4. 4. http://www.flickr.com/photos/rosenfeldmedia/3978121391/http://www.flickr.com/photos/jurvetson/179214616/http://www.flickr.com/photos/improveit/644371749/
  5. 5.
  6. 6. http://www.flickr.com/photos/katerha/5021009210/
  7. 7. http://www.flickr.com/photos/etiennepadin/422763658/
  8. 8. http://www.flickr.com/photos/73159082@N00/365822592/
  9. 9. http://www.flickr.com/photos/davemorris/21853625/
  10. 10.  
  11. 11. NoMethodError:private method `sub called for nil:NilClass
  12. 12. NoMethodError:private method `sub called for nil:NilClass
  13. 13. NoMethodError:private method `sub called for nil:NilClass
  14. 14. app/ext/search_btn_ext/search_btn_ext.rb /views/ /stylesheet/ /images/ /spec/
  15. 15. app/ext/search_btn_ext/search_btn_ext.rb /views /stylesheet /images /spec
  16. 16. app/ext/search_btn_ext/search_btn_ext.rb
  17. 17. 一目
  18. 18. Proto Type Texthttp://www.flickr.com/photos/zeevveez/2853759644/
  19. 19. app/ext/search_btn_ext/search_btn_ext.rb
  20. 20. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend
  21. 21. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend
  22. 22. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend
  23. 23. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend
  24. 24. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend
  25. 25. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend= search_btn_tag
  26. 26. module SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do      new_search_btn_tag    end  endend= invoke :search_btn_ext, :search_btn do  search_btn_tag
  27. 27. module SearchBtnExt SearchBtnExt  active_if :staff  scope(:view) do    callback(:search_btn) do :search_btn      new_search_btn_tag    end  endend= invoke :search_btn_ext, :search_btn do  search_btn_tag
  28. 28.
  29. 29. module BookExt ...  models do    expand(‘User’) do has_one :book      def my_book_name self.ext.book.name     end    end  endend
  30. 30. module BookExt ...  models do    expand(‘User’) do has_one :book      def my_book_name self.ext.book.name     end    end  endend
  31. 31. module BookExt ...  models do    expand(‘User’) do has_one :book      def my_book_name self.ext.book.name     end    end  endend
  32. 32. module BookExt ...  models do    expand(‘User’) do has_one :book      def my_book_name self.ext.book.name     end    end  endend
  33. 33. module BookExt ...  models do    expand(‘User’) do has_one :book      def my_book_name self.ext.book.name     end    end  endenduser.ext.bookuser.ext.my_book_name
  34. 34. http://www.oreillymaker.com/link/43029/ajaxon-extnsion/
  35. 35. module SmileExt active_if :staff  async_view do    def html smile_tag    end  endend
  36. 36. module SmileExt active_if :staff  async_view do    def html smile_tag    end  endend= cookpad_logo
  37. 37. module SmileExt active_if :staff  async_view do    def html smile_tag    end  endend= cookpad_logo= async_view :smile_ext
  38. 38.
  39. 39. http://www.flickr.com/photos/8136496@N05/1811017341/
  40. 40. http://www.flickr.com/photos/8136496@N05/1811017341/
  41. 41. 見 行 心
  42. 42.
  43. 43.

×