Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

56 wiersze
2.5 KiB

  1. #---
  2. # Excerpted from "Agile Web Development with Rails 5",
  3. # published by The Pragmatic Bookshelf.
  4. # Copyrights apply to this code. It may not be used to create training material,
  5. # courses, books, articles, and the like. Contact us if you are in doubt.
  6. # We make no guarantees that this code is fit for any purpose.
  7. # Visit http://www.pragmaticprogrammer.com/titles/rails5 for more book information.
  8. #---
  9. # encoding: utf-8
  10. Product.delete_all
  11. Product.create(title: 'Rails, Angular, Postgres, and Bootstrap',
  12. description:
  13. %{<p>
  14. <em>Powerful, Effective, and Efficient Full-Stack Web Development</em>
  15. As a Rails developer, you care about user experience and performance,
  16. but you also want simple and maintainable code. Achieve all that by
  17. embracing the full stack of web development, from styling with
  18. Bootstrap, building an interactive user interface with AngularJS, to
  19. storing data quickly and reliably in PostgreSQL. Take a holistic view of
  20. full-stack development to create usable, high-performing applications,
  21. and learn to use these technologies effectively in a Ruby on Rails
  22. environment.
  23. </p>},
  24. image_url: 'dcbang.jpg',
  25. price: 45.00)
  26. # . . .
  27. Product.create(title: 'Seven Mobile Apps in Seven Weeks',
  28. description:
  29. %{<p>
  30. <em>Native Apps, Multiple Platforms</em>
  31. Answer the question “Can we build this for ALL the devices?” with a
  32. resounding YES. This book will help you get there with a real-world
  33. introduction to seven platforms, whether you’re new to mobile or an
  34. experienced developer needing to expand your options. Plus, you’ll find
  35. out which cross-platform solution makes the most sense for your needs.
  36. </p>},
  37. image_url: '7apps.jpg',
  38. price: 26.00)
  39. # . . .
  40. Product.create(title: 'Ruby Performance Optimization',
  41. description:
  42. %{<p>
  43. <em>Why Ruby Is Slow, and How to Fix It</em>
  44. You don’t have to accept slow Ruby or Rails performance. In this
  45. comprehensive guide to Ruby optimization, you’ll learn how to write
  46. faster Ruby code—but that’s just the beginning. See exactly what makes
  47. Ruby and Rails code slow, and how to fix it. Alex Dymo will guide you
  48. through perils of memory and CPU optimization, profiling, measuring,
  49. performance testing, garbage collection, and tuning. You’ll find that
  50. all those “hard” things aren’t so difficult after all, and your code
  51. will run orders of magnitude faster.
  52. </p>},
  53. image_url: 'adrpo.jpg',
  54. price: 46.00)