glebtv / dynatree-rails Goto Github PK
View Code? Open in Web Editor NEWRails integration for dynatree
License: GNU General Public License v2.0
Rails integration for dynatree
License: GNU General Public License v2.0
rails _4.0.5_ new try_dynatree
cd try_dynatree
echo '//= require dynatree/skin' > ./app/assets/stylesheets/application.css
echo '//*= require_self' >> ./app/assets/stylesheets/application.css
echo '//*= require_tree .' >> ./app/assets/stylesheets/application.css
RAILS_ENV=production bundle exec rake assets:precompile
cat ./public/assets/application-*.css
Paths are the
url('/assets/dynatree/skin/loading-9617751f197f053d96509cbd840cd4fa.gif') in processed css but gifs are not processed.
One workaround is adding config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif) to config/environments/production.rb.
Would be nice to have the official solution in readme
Hi there,
I have tried your gem.
Installed it
and put the "test" code into my app...
undefined method
association' for #<#Class:0x007f88d91543c0:0x007f88da94a678>``
I am using mongoid
and NOT USING `simple_form``
How did I get working it, with the normal "Rails" way??
Any help is welcome.. .
best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.