Your SlideShare is downloading. ×
Padrino::Validation::HTML5
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Padrino::Validation::HTML5

372
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
372
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • acceptance: チェックしたかどうか\nconfirmation: password, password_confirmation\n
  • \n
  • @template = ヘルパーモジュール\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Padrino::Validation::HTML5 by @aereal (?:id:aereal)
    • 2. Who am I?@aereal?:id:aerealGitHub: aereal
    • 3. Activitiesmake kaminari.gem independent Rails/RailitiesPadrino document translation
    • 4. Web App in Ruby World http://padrinorb.com/ http://jp.padrinorb.com/ (ja)
    • 5. Padrino is ... the godfather of sinatra https://github.com/padrino/padrino-framework#readme
    • 6. Validation with
    • 7. Write ValidationsIn View (HTML5)In Model
    • 8. DRY =Don’t RepeatYourself
    • 9. ActiveModel::ValidationsAcceptanceConfirmationInclusion/ExclusionFormat (Numericality)LengthPresence
    • 10. P::H::FBP = PadrinoH = HelpersFB = FormBuilders
    • 11. P::H::FB
    • 12. P::V::H5P = PadrinoV = ValidationH5 = HTML5
    • 13. P::V::H5Validations and their options from ActiveModelinjects HTML5 form validationsi.e. PresenceValidation -> input[required=required]
    • 14. See Alsohttp://padrinorb.com/http://jp.padrinorb.com/ (Translators welcome!)http://git.io/padrino-v-h5https://github.com/kentaro/HTML-ValidationRules
    • 15. Welcome
    • 16.  to
    • 17.  Underground
    • 18. Padrino 黒ミサ in 京都http://atnd.org/events/214422011/12/10 13:00 - 15:00キャンパスプラザ京都#padrino_sabbath

    ×