2013-06-30 24 views
0

我剛剛在我的rails應用程序中安裝了tabulous gem。我也安裝了twitter bootstrap(使用twitter-bootstrap-rails)。在rails應用程序中關閉簡明的css腳手架

我有問題關閉了tabssss的腳手架。我不能像推薦的那樣「關閉」它,它會覆蓋我的引導CSS。

閱讀不引人注目的參考文獻,我假設默認情況下沒有css腳手架,打開它應該將use_css_scaffolding行添加到tabulous.rb文件。

我用use_css_scaffolding = false試過(儘管沒有在文檔中的任何地方),沒有任何結果。 Css仍然出現在我生成的html中。

tabulous.rb配置文件看起來像這樣:

Tabulous.setup do 

    tabs do 

    ... 

    end 

    customize do 

    renderer :bootstrap_pill 

end 

    # The following will insert some CSS straight into your HTML so that you 
    # can quickly prototype an app with halfway-decent looking tabs. 
    # 
    # This scaffolding should be turned off and replaced by your own custom 
    # CSS before using tabulous in production. 

end 

我還有什麼地方可以看一下禁用此CSS腳手架?

回答

0

隨着簡單的rails服務器重新啓動,我可以解決這個問題。