Questions tagged [twitter-bootstrap-rails]

twitter-bootstrap-rails is a toolkit from Twitter designed to kickstart development of webapps and sites.

Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

See https://github.com/seyhunak/twitter-bootstrap-rails

201 questions
4
votes
3 answers

twitter-bootstrap-rails on Heroku: Glyphicons displayed as squares

I have deployed a rails app on Heroku, and I am using the twitter-bootstrap-rails gem to include twitter bootstrap. Everything works perfectly locally (and in the development environment), but on Heroku (and in production) everything works fine…
Andrew
  • 2,425
  • 2
  • 24
  • 35
4
votes
0 answers

Twitter bootstrap navbar auto-expands on mobile/tablet

I'm using Twitter Bootstrap. It works very well and the navbar works well. It is responsive and adjusts accordingly, but when you shrink the screen on desktop or when you pull up the site on a mobile phone, it starts off expanded already taking up a…
RailsTweeter
  • 1,625
  • 3
  • 18
  • 33
4
votes
1 answer

rails twitter bootstrap helper methods

I am using the twitter-bootstrap-rails gem in my app. It seems to come with a range of helper methods that create for example the edit and delete buttons in a themed view: <%= link_to t('.destroy', :default => t("helpers.links.destroy")), …
donsteffenski
  • 477
  • 3
  • 15
4
votes
1 answer

Why do twitter-bootstrap-rails generated views use model_class.human_attribute_name(:column) instead of just a string?

With twitter-bootstrap-rails installed, using the generator: rails g bootstrap:themed Model creates views that contain lines such as: <%= model_class.human_attribute_name(:comment_date) %> <%=…
Matt
  • 3,682
  • 1
  • 21
  • 27
4
votes
2 answers

How to edit twitter bootstrap files in rails?

I'm trying to find the twitter-bootstrap files in my rails app ('bootstrap-sass', '2.0.0'), as I need to make a change directly to the bootstrap-responsive.css file, however, I can't find it. I have bootstrap up and running, but can't seem to find…
user749798
  • 5,210
  • 10
  • 51
  • 85
3
votes
1 answer

Rails dataTable Bootstrap Styling Not Working

I had dataTables working with the table in my rails application, but after I installed bootstrap and tried to set up the table with bootstrap, the table won't switch to the new styling. I followed the steps laid out here under "Twitter Bootstrap 3…
3
votes
3 answers

Could not find 'flat-ui.css' in any of your source paths while generating Flat UI Pro in rails app

I am integrating licensed version of flat-ui-pro with my Rails app. For this, I am using 'designmodo-flatuipro-rails' gem My environments are:- OS - Windows7 32-bit Ruby - 1.9.3p327 Rails - 4.0.0 twitter-bootstrap-rails - 2.2.8 jquery-ui-rails -…
RohitPorwal
  • 1,045
  • 15
  • 23
3
votes
1 answer

File to import not found or unreadable: bootstrap-wysihtml5

I have a Rails 4rc1 application with multiple engines. I'm using bootstrap-wysihtml5-rails gem in my admin engine. According to documentation I added gem 'bootstrap-wysihtml5-rails' to admin engine's Gemfile. Then when I added @import…
3
votes
3 answers

Adding Twitter Bootstrap Carousel to rails app

I just started ruby on rails a few weeks ago, I'm currently building a blog using rails composer ( which uses twitter-bootstrap-rails gem ). I want to add the bootstrap carousel to my application view ( ie to my application.html.erb) I already…
MaximeHeckel
  • 448
  • 1
  • 9
  • 24
3
votes
3 answers

Pass boolean from rails controller to javascript for use in conditional

I have a form in a bootstrap modal that is being processed using ajax. If the form validates it closes the modal or shows the validation errors as expected. However, I would like to redirect the user after the modal hide animation is finished if a…
topher
  • 301
  • 1
  • 5
  • 14
3
votes
1 answer

twitter-bootstrap-rails base font size and line height

I'm using the twitter-bootstrap-rails gem (https://github.com/seyhunak/twitter-bootstrap-rails) in my project. The newest version uses the current bootstrap values (base font size 14 and line height 20 ). I want to set these values back to 13 and…
3
votes
3 answers

Rails: Font Awesome doesnt download

I just run bundle update in my project, and Font-Awesome doesn't work anymore. I tried both font-awesome-sass-rails and twitter-bootstrap-rails (which includes font awesome too), and I had the same behavior in both of them: instead of the icons, a…
3
votes
1 answer

Twitter Bootstrap error when running 'bootstrap:themed', with Mongo

This occurs when I try to run rails g bootstrap:themed Associations in my terminal: C:/Users/ruby/.pik/rubies/Ruby-193-p327/lib/ruby/gems/1.9.1/gems/twitter-bootstrap-rails-2.1.9/lib/generators/bootstrap/themed/themed_generator.rb:87:in `block in…
3
votes
2 answers

Can we force rspec stub_model to populate created_at column to Time:now

Am using twitter bootstrap gem to generate the views which displays the created_at column in the index page. The rspec tests which are generated along with the scaffolds use stub_model to test the index view. These test fails because created_at…
3
votes
2 answers

Cannot install therubyracer -v '0.10.0' on Mountain Lion

I have no idea why this is not working. I had it working most of the day and then I suddenly can't run "bundle install" anymore. I get: Using libv8 (3.3.10.4) Installing therubyracer (0.10.0) Errno::EACCES: Permission denied -…
1 2
3
13 14