Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rails Assets wroc_love.rb
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tymon Tobolski
March 16, 2014
Programming
820
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails Assets wroc_love.rb
wroc_love.rb 2014 lighting talk - the state and future of rails-assets.org
Tymon Tobolski
March 16, 2014
More Decks by Tymon Tobolski
See All by Tymon Tobolski
Only possible with Elixir - ubots Case Study
teamon
0
320
Fun with Elixir Macros
teamon
1
620
Elixir GenStage & Flow
teamon
2
1.2k
Elixir - Bydgoszcz Web Development Meetup
teamon
2
1k
Sidekiq
teamon
1
210
Git - Monterail style
teamon
1
220
Angular replacements for jQuery-based libraries
teamon
1
440
Angular replacements for jQuery-based libraries
teamon
2
350
Rails Assets LRUG
teamon
0
7.6k
Other Decks in Programming
See All in Programming
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
1.9k
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
130
AHC070解法紹介
eijirou
0
120
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
110
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
120
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
140
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
スマート反転とウェブアクセシビリティ
camiha
0
210
一人だけ、Kiroが静止する日
hideg
0
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
110
Security issues being discussed on Web Platforms
petamoriken
0
960
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
940
Facilitating Awesome Meetings
lara
57
7.1k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Crafting Experiences
bethany
1
340
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
300
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
330
Transcript
Asset Management in Rails
State of the art • /vendor/assets • asset gems Ruby
World JavaScript World • /vendor/assets • bower
So what's the problem? • Asset Gems won't package themselves
• Asset Gems are always step behind official libraries • Unnecessary stuff like ruby helpers :-(
If only I could use bower components in ruby
+ rails-assets.org
source 'https://rubygems.org' +source 'https://rails-assets.org' ! gem 'rails' ! group :assets
do gem 'sass-rails' gem 'uglifier' gem 'coffee-rails' + gem 'rails-assets-bootstrap' + gem 'rails-assets-angular' + gem 'rails-assets-leaflet' end
application.js ! ! ! //= require_self +//= require bootstrap +//=
require angular +//= require leaflet //= require_tree . application.css ! ! /* *= require_self +*= require bootstrap +*= require leaflet *= require_tree . */
None
Is it any good? • No more vendor/assets :-) •
Proper versioning :-D • Dependency resolution x-D • Just works!
What's the catch? • Rails Assets is centralized solution •
Only tag releases are bundled to .gem files • Mixing assets definitions with gem definitions • Long gem names (rails-assets-jquery)
bower-rails source 'https://bower.io' ! asset "angular" asset "underscore", "~> 2.0"
! group :test, :development do asset "karma" end
application.js ! ! ! //= require_self +//= require bootstrap +//=
require angular +//= require leaflet //= require_tree . application.css ! ! /* *= require_self +*= require bootstrap +*= require leaflet *= require_tree . */
We're joining forces! rails-assets + bower-rails = <3
Please help us! Tymon Tobolski !
[email protected]
@iteamon Adam Stankiewicz
!
[email protected]
@sheerun GitHub: rails-assets/rails-assets