English 中文(简体)
Netzke, RAILS 3.1
原标题:Netzke on RAILS 3.1

I am newbe here about Netzke.. I am trying to follow the installation process in the Netzke web site http://www.netzke.org and also from the git Netzke-core site..

I just download the EXT JS 4.0.2 zip file from Sencha, extract it and try to symbolic link the ext JS code to <railsdir>public/extjs directory.. and with the rails 3.1, I try also to link it to <railsdir>/app/assets/ javascripts and also <railsdir>/app/assets/stylesheets..

但它仍然不可行,因为它没有找到文件<代码>/extjs/resources/cs/ext-all.css。

请您帮助将《综合材料法典》与《综合材料法典》联系起来的一条途径或指南?

Linking the /code/sencha/EXT-4.0.2a to public/extjs , that what I have done, but no success..

问题回答

set config.assets.debug = false in environment/development.rb file it will work with Netzke

I m 仅供Netzke使用。 我想到的是model_name。 这种方法是,你在没有组合模式的情况下使用<代码>GridPanel。 你应该这样做:

<% netzke :some_component, :class_name => "Netzke::Basepack::GridPanel", :model => "YourModel" %> 

它应当:





相关问题
How to make Rails 3.1 use SASS (Over SCSS) as the default?

Having a hard time figuring out how to make SASS, not SCSS, as the default for stylesheets. I ve tried making a sass_config.rb file with this: Sass::Plugin.options[:syntax] = :sass Sass::Plugin....

更新网页而无需更新

因此,由于所有这一切都涉及到利用美国司法和司法局从铁路3.1号中删除,我很想知道,我将如何在一页上更新相对大量的html。 在我只作部分发言之前......

Ruby on Rails 3.1 without execjs?

If you install Ruby on Rails 3.1 the gem execjs gets installed by default. I excluded CoffeeScript, because I thought it needed execjs, but execjs wants to be installed anyway. Is execjs now a ...

Is Rails 3.1 Edge breaking XmlMarkup::Builder?

There are a number of examples on the Web (such as http://techoctave.com/c7/posts/32-create-an-rss-feed-in-rails) showing how to make a nice RSS feed using Builder. The canonical template is something ...

Engine s assets with Rails 3.1

How should one provide assets in an engine in Rails 3.1? Where should they be located and can they be included automatically? (originally asked by Tomas Celizna)

Subqueries in activerecord

With SQL I can easily do sub-queries like this User.where(:id => Account.where(..).select(:user_id)) This produces: SELECT * FROM users WHERE id IN (SELECT user_id FROM accounts WHERE ..) How ...

热门标签