Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Padrino::Validation::HTML5
Search
aereal
November 13, 2011
Programming
1
470
Padrino::Validation::HTML5
in Kansai Dark RubyKaigi (#kyami)
aereal
November 13, 2011
Tweet
Share
More Decks by aereal
See All by aereal
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
6k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
320
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
5.1k
qron: Cloud Native Cron Alternativeの今
aereal
2
3.2k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
2
200k
はてなブログ タグの技術選択 / The technical details of Hatena Blog Tag
aereal
3
200k
ブログサービスのHTTPS化を支えたAWSで作るピタゴラスイッチ / The construction of large scale TLS certificates management system with AWS
aereal
3
400k
AWSではてなブログの常時HTTPS配信をバーンとやる話 / The Epic of migration from HTTP to HTTPS on Hatena Blog with AWS
aereal
14
18k
Other Decks in Programming
See All in Programming
Package Management Learnings from Homebrew
mikemcquaid
0
230
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
CSC307 Lecture 04
javiergs
PRO
0
660
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
150
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
170
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
210
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
120
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
790
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
97
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
54
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
Code Review Best Practice
trishagee
74
20k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Rails Girls Zürich Keynote
gr2m
96
14k
What's in a price? How to price your products and services
michaelherold
247
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Transcript
Padrino::Validation::HTML5 by @aereal (?:id:aereal) 1111݄13༵
Who am I? @aereal ?:id:aereal GitHub: aereal 1111݄13༵
Activities make kaminari.gem independent Rails/Railities Padrino document translation 1111݄13༵
Web App in Ruby World http://padrinorb.com/ http://jp.padrinorb.com/ (ja) 1111݄13༵
Padrino is ... the godfather of sinatra https://github.com/padrino/padrino-framework#readme 1111݄13༵
Validation with 1111݄13༵
Write Validations In View (HTML5) In Model 1111݄13༵
DRY = Don’t Repeat Yourself 1111݄13༵
ActiveModel::Validations Acceptance Confirmation Inclusion/Exclusion Format (Numericality) Length Presence 1111݄13༵
P::H::FB P = Padrino H = Helpers FB = FormBuilders
1111݄13༵
P::H::FB 1111݄13༵
P::V::H5 P = Padrino V = Validation H5 = HTML5
1111݄13༵
P::V::H5 Validations and their options from ActiveModel injects HTML5 form
validations i.e. PresenceValidation -> input[required=required] 1111݄13༵
See Also http://padrinorb.com/ http://jp.padrinorb.com/ (Translators welcome!) http://git.io/padrino-v-h5 https://github.com/kentaro/HTML-ValidationRules 1111݄13༵
Welcome
Padrino ࠇϛα in ژ http://atnd.org/events/21442 2011/12/10 13:00 - 15:00 Ωϟϯύεϓϥβژ
#padrino_sabbath 1111݄13༵