1
2
<select id="product_media" name="product[media]">
    <option value="01">   </option>
   <option   value="02">CD</option>
...
4
5
6
7
8
9
10
11
12
13
14
15
16
ActiveRecord::Schema.define(:version => 1) do
  create_table "products", :force => true, :comment => '           ' do |t|
...
18
19
# == Schema Info ==
#
# Schema version: 20090721185959
#
# Table name: books #
#
#   id        :integer         not null, ...
21
22
Upcoming SlideShare
Loading in …5
×

仕事で使ってるプラグイン

1,290 views

Published on

http://github.com/akm/selectable_attr/ と http://github.com/akm/schema_comments/ の説明です。

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,290
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

仕事で使ってるプラグイン

  1. 1. 1
  2. 2. 2
  3. 3. <select id="product_media" name="product[media]"> <option value="01"> </option> <option value="02">CD</option> <option value="03" selected="selected">CD-ROM</option> <option value="04">DVD</option> <option value="05">Blueray</option> <option value="06"> </option> </select> 3
  4. 4. 4
  5. 5. 5
  6. 6. 6
  7. 7. 7
  8. 8. 8
  9. 9. 9
  10. 10. 10
  11. 11. 11
  12. 12. 12
  13. 13. 13
  14. 14. 14
  15. 15. 15
  16. 16. 16
  17. 17. ActiveRecord::Schema.define(:version => 1) do create_table "products", :force => true, :comment => ' ' do |t| t.string "product_type_cd", :comment => " " t.integer "price", :comment => " " t.string "name", :comment => " " t.datetime "created_at", :comment => " " t.datetime "updated_at", :comment => " " end end 17
  18. 18. 18
  19. 19. 19
  20. 20. # == Schema Info == # # Schema version: 20090721185959 # # Table name: books # # # id :integer not null, primary key # title :string(100) not null # # size :integer not null, default(1) # # price :decimal(17, 14) not null, default(0.0) # # created_at :datetime # # updated_at :datetime # # # ================= # class Book < ActivrRecord::Base end 20
  21. 21. 21
  22. 22. 22

×