Linked Questions

238 votes
4 answers
120k views

In the documentation I read: Use \A and \z to match the start and end of the string, ^ and $ match the start/end of a line. I am going to apply a regular expression to check username (or e-mail is ...
collimarco's user avatar
  • 35.7k
65 votes
8 answers
65k views

I have a Rails 4 application and I am trying to use a custom font. I have followed many tutorials on this and somehow it's just not working for my application. I am using application.css.less and have ...
SnareChops's user avatar
  • 13.4k
78 votes
6 answers
42k views

Does anyone know how to add another folder to the asset pipeline in Rails 3.1? I'd like to serve app/assets/fonts the same way app/assets/images is served. Update: 5-7-2013 Just to add some ...
Andrew's user avatar
  • 43.2k
32 votes
7 answers
20k views

I'm having trouble using the following @font-face declaration to work with my Rails 3.1 app. I put the fonts in the Asset Pipeline in its own folder called "Fonts" alongside images and stylesheets ...
pruett's user avatar
  • 2,131
32 votes
5 answers
31k views

I'm researching how to add custom fonts to my Rails app, e.g. by adding a fonts folder in the assets folder - and I cannot find an "official" Rails way on how to do this. Yes, there are plenty of ...
Fellow Stranger's user avatar
21 votes
11 answers
20k views

Placed fonts in app/assets/fonts Added Add the fonts path config.assets.paths << Rails.root.join('app', 'assets', 'fonts') Precompile additional assets config.assets.precompile += %w( .svg ....
Sarvesh's user avatar
  • 1,202
20 votes
5 answers
16k views

I can't load fonts in my Rails 4 app in production, it works normally in development. Assets are precompiled on the server while deploying. I have my fonts in app/assets/fonts My app.css: @font-...
raphael_turtle's user avatar
6 votes
7 answers
9k views

I installed a bootstrap theme and everything is working well locally. However, when I went to push to heroku, my app couldn't find the fonts. I precompiled the assets and pushed to heroku, but no ...
Matthew Berman's user avatar
1 vote
3 answers
9k views

With Rails 5, how do I reference a custom font file I have uploaded? I have placed the file in app/assets/fonts/chicagoflf-webfont.woff Then in my CSS file, I have @font-face { font-family: '...
user avatar
7 votes
3 answers
2k views

I've got a problem with my font assets being served without digest in production. As soon as I do rake assets:precompile I get: 5futurebit-webfont-c133dbefd9e1ca208741ed53c7396062.eot I was trying ...
Anton's user avatar
  • 137
2 votes
1 answer
3k views

I'm trying to figure out how to adapt a wrap bootstrap theme for use in Rails 4. The theme uses simple-line-icons. I've tried to move those files to a font folder in my app/assets folder as well as ...
Mel's user avatar
  • 2,765
0 votes
3 answers
3k views

Both locally and in heroku I am having issues with my fonts. Rails 4.2.5.1 My fonts are in the app/fonts folder: /app/assets/fonts/fontawesome-webfont.eot /app/assets/fonts/fontawesome-webfont.svg /...
Blankman's user avatar
  • 269k
3 votes
2 answers
2k views

Currently I trying to add custom fonts into my Rails 4 application. I added all of my fonts into assets/fonts I added config.assets.paths << Rails.root.join("app", "assets", "fonts") into config/...
Irwan's user avatar
  • 613
1 vote
4 answers
3k views

I'm having trouble getting fonts working in Rails. I'm using the Summernote text editor in a Rails app. I have a summernote.css file at vendor/assets/stylesheets/summernote.css. This references font ...
grautur's user avatar
  • 30.6k
6 votes
1 answer
2k views

I am trying to load some custom fonts via the CSS @font-face. I am using the rails fonts_path method. It succesfully generates the correct path in my development browser: /assets/fonts/my_font.eot?#...
Thalatta's user avatar
  • 4,578

15 30 50 per page