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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tymon Tobolski
March 16, 2014
Programming
830
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
330
Fun with Elixir Macros
teamon
1
630
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
450
Angular replacements for jQuery-based libraries
teamon
2
350
Rails Assets LRUG
teamon
0
7.6k
Other Decks in Programming
See All in Programming
JIS keyboard support in Omarchy
lef237
0
110
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
290
contenteditable と日本語入力に向き合う
colorful12
0
200
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
AWSに止められる覚悟してますか?
morizo_1984
2
530
The Rails Doctrine Decade
koic
2
590
気持ちぃ〜角丸 Squircle
ryu1013
0
310
R8 の設定見直しでアプリサイズ削減
andpad
0
220
カツオ、ご期待ください
suneo3476
0
190
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Done Done
chrislema
187
17k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Unsuck your backbone
ammeep
672
58k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Mind Mapping
helmedeiros
1
400
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
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