brandleadership / kuhsaft Goto Github PK
View Code? Open in Web Editor NEWMoved to: http://github.com/screenconcept/qbrick
License: MIT License
Moved to: http://github.com/screenconcept/qbrick
License: MIT License
When implementing the settings for the video brick (Like described in README) it causes a error in frontend where are no videos integrated. CMS works well.
Error Message:
undefined local variable or method `sublime_video_include_tag' for ...
Redirections from scoped pages seem to be broken
http://localhost:3000/de/angebote_und_gutscheine
Angebote & Gutscheine -> http://localhost:3000/de/de/angebote_und_gutscheine
For some reason, the before(:suite) block from spec_helper does not run, resulting in errors because the db does not exist. Fix it!
Todo:
Points: 2
When i edit a page in the kuhsaft cms then i don't see which page i am editing.
Todos:
Points: 1pt
DEPRECATION WARNING: It looks like ActiveRecord::Reflection::AssociationReflection#build_association has been redefined, either by you or by a plugin or library that you are using. The signature of this method has changed.
Before: def build_association(_options)
After: def build_association(_options, &block)
The block argument now needs to be passed through to ActiveRecord::Base#new when this method is overridden, or else your associations will not function correctly in Rails 3.2.
This might help you find the method: #<Method: ActiveRecord::Reflection::AssociationReflection#build_association>. If you run this on Ruby 1.9.2 we can tell you exactly where the method is.
(called from create at /Users/felipe/src/screenconcept/kuhsaft/app/controllers/kuhsaft/cms/pages_controller.rb:23)
Currently the list of locale columns in a translation migration is statically maintained in add_translation.html.erb
. This should be automated.
Es ist nicht möglich einen sprachspezifischen Uploader zu erstellen in der main_app.
Beispel: Pani SliderUploader und SlideUploader (Dort ist ein Workaround)
When i edit a Page and the page is not valid, the browser switches to the "Inhalt" tab even though there are error-messages for the page.
info@Marcs-MacBook-Pro:~/Desktop/customers/hotz/website/hotz-web $ bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:migrate
== CreateKuhsaftPages: migrating =============================================
-- create_table(:pages)
-> 0.1385s
== CreateKuhsaftPages: migrated (0.1386s) ====================================
rake aborted!
An error has occurred, all later migrations canceled:
undefined method rows' for nil:NilClass /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activesupport-3.1.1/lib/active_support/whiny_nil.rb:48:in
method_missing'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:410:in last_inserted_id' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:91:in
insert'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in insert' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:727:in
record_version_state_after_migrating'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:688:in migrate' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:744:in
call'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:744:in ddl_transaction' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:686:in
migrate'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:671:in each' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:671:in
migrate'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:549:in up' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/migration.rb:530:in
migrate'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/activerecord-3.1.1/lib/active_record/railties/databases.rake:161
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:205:in call' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:205:in
execute'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:200:in each' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:200:in
execute'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:158:in invoke_with_call_chain' /Users/info/.rvm/rubies/ruby-1.8.7-p299/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:151:in invoke_with_call_chain' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/task.rb:144:in
invoke'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:116:in invoke_task' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:94:in
top_level'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:94:in each' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:94:in
top_level'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:88:in
top_level'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:66:in run' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:133:in
standard_exception_handling'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/lib/rake/application.rb:63:in run' /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/gems/rake-0.9.2.2/bin/rake:33 /Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/bin/rake:19:in
load'
/Users/info/.rvm/gems/ruby-1.8.7-p299@rails31/bin/rake:19
Tasks: TOP => db:migrate
There is no additional class to the accordion-element-header when it is collapsed.
Todo:
Points: 2
When I add a Text-Brick and save it it does well, but when i add a text brick and then an accordion brick the accordion brick goes at first instead at second.
update: with the slider it also happens
I'm using Rails 3.1.0rc8 and in the kuhsaft backend the images doesn't appear.
I tried to fix it with set the url to the images with image_url but it doesn't worked.
Do you have a solution for this problem?
Thanks for your help.
See issue here: html5cat/redactor-js#39
Workaround would be to use a toolbar per editor.
Todos:
Points: 1pt
Add kuhsaft assets to app.config.assets.precompile in engine.rb so assets are precompiled when running rails assets:precompile
If the editor tries to save a too long code in a string input field in the backend. Then there apears a ugly error message.
Make Validation for String and Text Fields.
ActiveRecord::StatementInvalid in Kuhsaft::Cms::BricksController#update
PG::Error: ERROR: value too long for type character varying(255)
: UPDATE "kuhsaft_bricks" SET "image" = 'Untitled_8150293696_l.jpg', "caption" = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.', "updated_at" = '2013-06-07 06:53:34.954879', "display_styles" = '--- []
' WHERE "kuhsaft_bricks"."type" IN ('Kuhsaft::ImageBrick') AND "kuhsaft_bricks"."id" = 34
Rails.root: /Users/franca/Sites/rails/xxx
Application Trace | Framework Trace | Full Trace
Request
Parameters:
{"utf8"=>"✓",
"_method"=>"put",
"authenticity_token"=>"6+Jz4AoeimRUTllUvOMNFv0BUqC2Tdiov3yTYf/O7hA=",
"brick"=>{"position"=>"2",
"image"=>#<ActionDispatch::Http::UploadedFile:0x007fc179cf3b80 @original_filename="Untitled_8150293696_l.jpg",
@content_type="image/jpeg",
@headers="Content-Disposition: form-data; name=\"brick[image]\"; filename=\"Untitled_8150293696_l.jpg\"\r\nContent-Type: image/jpeg\r\n",
@tempfile=#<Tempfile:/var/folders/mn/739bffk96xsf5vhhm8g05fpm0000gp/T/RackMultipart20130607-2301-15uegb3>>,
"image_size"=>"content",
"caption"=>"Lorem ipsum dolor sit amet,
consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet."},
"content_locale"=>"de",
"id"=>"34"}
Show session dump
Show env dump
Response
Headers:
None
if params[:url].present?
lang = params[:url].split('/').first
Kuhsaft::Page.current_translation_locale = I18n.locale = lang if Kuhsaft::Page.translation_locales.include?(lang.to_sym)
end
When I create a Text Brick in the Backend, the Toolbar is not dispaly. It displays the toolbar after reloading the page.
The Text-fields which appears at first are very height and thight.
I would like to add devise authentication to some controllers in the host app. Unfortunately, this does not seem to work as expected. Probably due to the devise setup in the engine.
How to reproduce:
Setup devise as usual, and add the before filter to a controller. When trying to access it, devise shows an unauthenticated user error as expected, but does not show the login form as usual.
Accessing the login route directly produces a no method error.
Maybe it is necessary to rethink the way we integrate devise:
http://ryanbigg.com/2012/03/engines-and-authentication/
/cc @manufaktor
Todo:
Points: 1pt
e.g.
mount Kuhsaft::Engine => '/kuhsaft'
The Kuhsaft-Logo does not link to the root page of the Backend.
Points: 1
Logout box rendering (in app/views/layouts/kuhsaft/admin.html.haml) expects current_user to have first_name and last_name attributes and fails otherwise. It would be better to use the email attribute instead.
Admin Tab wird nicht gerendert.
.rvmrc
if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
&& -s "${rvm_path:-$HOME/.rvm}/environments/ruby-1.8.7-p330@rails31" ]] ; then
. "${rvm_path:-$HOME/.rvm}/environments/ruby-1.8.7-p330@rails31"
else
rvm --create "ruby-1.8.7-p330@rails31"
fi
Gemfile.lock
GIT
remote: https://github.com/chriseppstein/compass.git
revision: 91a748a916360057b5caf6ea85cd38441d3b257a
branch: rails31
specs:
compass (0.12.0.alpha.0.91a748a)
chunky_png (> 1.2)> 3.1)
fssm (>= 0.2.7)
sass (
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.0.rc5)
actionpack (= 3.1.0.rc5)
mail (> 2.3.0)> 3.0.0)
actionpack (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
builder (
erubis (> 2.7.0)> 0.6)
i18n (
rack (> 1.3.1)> 1.0.2)
rack-cache (
rack-mount (> 0.8.1)> 0.6.0)
rack-test (
sprockets (> 2.0.0.beta.12)> 2.1.4)
activemodel (3.1.0.rc5)
activesupport (= 3.1.0.rc5)
bcrypt-ruby (
builder (> 3.0.0)> 0.6)
i18n (
activerecord (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
arel (> 2.1.4)> 0.3.29)
tzinfo (
activeresource (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
activesupport (3.1.0.rc5)
multi_json (> 1.0)> 0.2.0)
acts-as-taggable-on (2.0.6)
arel (2.1.4)
bcrypt-ruby (2.1.4)
builder (3.0.0)
capybara (1.0.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (
xpath (> 0.1.4)> 3.0)
carrierwave (0.5.2)
activesupport (
childprocess (0.2.0)
ffi (> 1.0.6)> 3.1.0.rc1)
chunky_png (1.2.0)
coffee-rails (3.1.0.rc.5)
actionpack (
coffee-script (>= 2.2.0)
railties (> 3.1.0.rc1)> 1.0)
sprockets (>= 2.0.0.beta.9)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
columnize (0.3.4)
diff-lcs (1.1.2)
erubis (2.7.0)
execjs (1.2.4)
multi_json (
ffi (1.0.9)
fssm (0.2.7)
growl (1.0.3)
guard (0.5.1)
thor (> 0.14.6)> 3.0)
guard-rspec (0.4.0)
guard (>= 0.4.0)
guard-spork (0.2.1)
guard (>= 0.2.2)
spork (>= 0.8.4)
haml (3.1.2)
hike (1.2.0)
i18n (0.6.0)
jquery-rails (1.0.12)
railties (
thor (> 0.14)> 3.1)
json (1.5.3)
json_pure (1.5.3)
kuhsaft (0.3.1)
acts-as-taggable-on (= 2.0.6)
carrierwave (= 0.5.2)
compass (>= 0.11.1)
haml (
rails (> 3.0)> 1.16)
rdiscount
rmagick (= 2.12.2)
simple_form
linecache (0.46)
rbx-require-relative (> 0.0.4)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (
treetop (> 1.4.8)> 1.0)
mime-types (1.16)
multi_json (1.0.3)
mysql2 (0.3.6)
nokogiri (1.5.0)
polyglot (0.3.2)
rack (1.3.2)
rack-cache (1.0.2)
rack (>= 0.4)
rack-mount (0.8.2)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.0.rc5)
actionmailer (= 3.1.0.rc5)
actionpack (= 3.1.0.rc5)
activerecord (= 3.1.0.rc5)
activeresource (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
bundler (
railties (= 3.1.0.rc5)
railties (3.1.0.rc5)
actionpack (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
rack-ssl (> 1.3.2)> 3.4)
rake (>= 0.8.7)
rdoc (
thor (> 0.14.6)> 2.6.0)
rake (0.9.2)
rb-fsevent (0.4.2)
rbx-require-relative (0.0.5)
rdiscount (1.6.8)
rdoc (3.9.1)
rmagick (2.12.2)
rspec (2.6.0)
rspec-core (
rspec-expectations (> 2.6.0)> 2.6.0)
rspec-mocks (
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (> 1.1.2)> 3.0)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
actionpack (
activesupport (> 3.0)> 3.0)
railties (
rspec (> 2.6.0)> 0.10.4.0)
ruby-debug (0.10.4)
columnize (>= 0.1)
ruby-debug-base (
ruby-debug-base (0.10.4)
linecache (>= 0.3)
rubyzip (0.9.4)
sass (3.1.7)
sass-rails (3.1.0.rc.5)
actionpack (> 3.1.0.rc1)> 3.1.0.rc1)
railties (
sass (>= 3.1.4)
sprockets (>= 2.0.0.beta.9)
selenium-webdriver (0.2.2)
childprocess (>= 0.1.9)
ffi (>= 1.0.7)
json_pure
rubyzip
simple_form (1.4.2)
actionpack (> 3.0)> 3.0)
activemodel (
spork (0.8.5)
sprockets (2.0.0.beta.13)
hike (> 1.2)> 1.0)
rack (
tilt (> 1.1, != 1.3.0)> 1.3)
thor (0.14.6)
tilt (1.3.2)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
uglifier (1.0.0)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
xpath (0.1.4)
nokogiri (
PLATFORMS
ruby
DEPENDENCIES
capybara
coffee-rails (> 3.1.0.rc)> 3.1.0.rc)
compass!
growl
guard
guard-rspec
guard-spork
haml
jquery-rails
json
kuhsaft
mysql2
rails (= 3.1.0.rc5)
rb-fsevent
rspec
rspec-rails
ruby-debug
sass-rails (
uglifier
also, logging out does not really work
When i choose 'redirect' for page_type in pages form, then I have the possibility to add a brick cause the tab "Inhalt" is not shown.
This should not be possible.
When i choose the option 'redirect' in page settings, then appears the input field 'URL' after save the page and edit the page again. This is too late. The URL-input field should apper when imediately after I choose the option 'redirect'.
Todos:
Points: 2
Todos:
Points: 3pt
When i create a accordion or slider brick then the position will not be set. So the order of the bricks are not right.
cc: @manufaktor
Points: 2
Assets should allow mp4 or ogg video uploads.
It should be possible to move Bricks inside their associated Brick List (change its position among its sibling)
Todos:
Points: 3pt, needs Design Team input
Translatable automatically uses the locale as db column postfix. This could lead to naming problems on DB level. Use a more consistent naming schema in Translatable and add migrations.
url_de -> url_de
url_de-CH -> url_de_ch
Right now content pages either have PageType::CONTENT or "" which is messy. Fix it. (initially no type is set, it should be set to CONTENT by default and never be empty string)
Das ist ein Test zum üben.
Todo:
Points: 2
When I wanna add as a editor a "carousel/slider"- or "accrodion"-brick, then followed error-message will be displayed:
NoMethodError (undefined method `update_fulltext' for #<Kuhsaft::SliderBrick:0x007fcb7c5451b0>):
activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in `method_missing'
activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:in `method_missing'
kuhsaft (1.7.0) app/models/kuhsaft/brick.rb:35:in `block in <class:Brick>'
activesupport (3.2.13) lib/active_support/callbacks.rb:431:in `_run__2578148945820274665__save__4462988042983945862__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.13) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.2.13) lib/active_record/persistence.rb:84:in `save'
activerecord (3.2.13) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.13) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block (2 levels) in save'
activerecord (3.2.13) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.13) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.13) lib/active_record/transactions.rb:259:in `block in save'
activerecord (3.2.13) lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
activerecord (3.2.13) lib/active_record/transactions.rb:258:in `save'
kuhsaft (1.7.0) app/controllers/kuhsaft/cms/bricks_controller.rb:10:in `create'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:425:in `_run__3882863142675896036__process_action__340480165889730242__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2713075433795765769__call__4462988042983945862__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
airbrake (3.1.12) lib/airbrake/rails/middleware.rb:13:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
airbrake (3.1.12) lib/airbrake/user_informer.rb:16:in `_call'
airbrake (3.1.12) lib/airbrake/user_informer.rb:12:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
/Users/franca/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/franca/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/franca/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
logging (1.8.1) lib/logging/diagnostic_context.rb:323:in `call'
logging (1.8.1) lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Rendered /Users/franca/.rvm/gems/ruby-2.0.0-p0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/franca/.rvm/gems/ruby-2.0.0-p0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/franca/.rvm/gems/ruby-2.0.0-p0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms)
Extend scaffold generators so that we can do something like
rails generate adminscaffold foo
and it puts everything in the admin namespace except the model and adds the resource to the navbar.
Make sure it plays nicely with shoestrapped apps.
@manufaktor @noelle Adding you here so you can follow along. I would really like to have this in 1.0 release, but I'm not sure we'll make it. (Don't want to delay release either)
kuhsaft:styleguide:add
or kuhsaft:install:styleguide
@effkay @donaier @ryabrody @iphilgood @noelle should this be a rake task or a rails generator? Please add your opinions.
Todos:
Points: 3pt
... makes integrated custom modules with assets pretty ugly. Provide a default style for form elements that look somewhat like this:
= image_tag @project.image_3.thumb.url if @project.image_3.present?
= form.input :image_3 unless @project.image_3.present?
= form.input :remove_image_3, :as => :boolean
Todos:
Points: 3pt, needs Design Team input
Todos:
Points: 2pt
When i create a new Brick in the Backend and hit the save-button follow error appears:
NoMethodError (undefined method `maximum' for #<Kuhsaft::Page:0x007feb279fb2c0>):
activemodel (3.2.11) lib/active_model/attribute_methods.rb:407:in `method_missing'
activerecord (3.2.11) lib/active_record/attribute_methods.rb:149:in `method_missing'
kuhsaft (1.0.2) app/models/kuhsaft/brick.rb:62:in `set_position'
activesupport (3.2.11) lib/active_support/callbacks.rb:418:in `_run__4110341584730796840__validation__4500403351911954880__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
activemodel (3.2.11) lib/active_model/validations/callbacks.rb:53:in `run_validations!'
activemodel (3.2.11) lib/active_model/validations.rb:195:in `valid?'
activerecord (3.2.11) lib/active_record/validations.rb:69:in `valid?'
activerecord (3.2.11) lib/active_record/validations.rb:77:in `perform_validations'
activerecord (3.2.11) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.11) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.11) lib/active_record/transactions.rb:259:in `block (2 levels) in save'
activerecord (3.2.11) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.11) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.11) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.11) lib/active_record/transactions.rb:259:in `block in save'
activerecord (3.2.11) lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
activerecord (3.2.11) lib/active_record/transactions.rb:258:in `save'
activerecord (3.2.11) lib/active_record/persistence.rb:217:in `block in update_attributes'
activerecord (3.2.11) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.11) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.11) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.11) lib/active_record/persistence.rb:215:in `update_attributes'
kuhsaft (1.0.2) app/controllers/kuhsaft/cms/bricks_controller.rb:14:in `update'
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.11) lib/active_support/callbacks.rb:425:in `_run__2322299280784816845__process_action__4422534495632654001__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
railties (3.2.11) lib/rails/engine.rb:479:in `call'
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
sass (3.2.5) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.4) lib/rack/etag.rb:23:in `call'
rack (1.4.4) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__3192509233035004223__call__4500403351911954880__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.4) lib/rack/lock.rb:15:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
railties (3.2.11) lib/rails/engine.rb:479:in `call'
railties (3.2.11) lib/rails/application.rb:223:in `call'
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
thin (1.5.0) lib/thin/connection.rb:81:in `block in pre_process'
thin (1.5.0) lib/thin/connection.rb:79:in `catch'
thin (1.5.0) lib/thin/connection.rb:79:in `pre_process'
thin (1.5.0) lib/thin/connection.rb:54:in `process'
thin (1.5.0) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.0) lib/eventmachine.rb:187:in `run_machine'
eventmachine (1.0.0) lib/eventmachine.rb:187:in `run'
thin (1.5.0) lib/thin/backends/base.rb:63:in `start'
thin (1.5.0) lib/thin/server.rb:159:in `start'
rack (1.4.4) lib/rack/handler/thin.rb:13:in `run'
rack (1.4.4) lib/rack/server.rb:268:in `start'
railties (3.2.11) lib/rails/commands/server.rb:70:in `start'
railties (3.2.11) lib/rails/commands.rb:55:in `block in <top (required)>'
railties (3.2.11) lib/rails/commands.rb:50:in `tap'
railties (3.2.11) lib/rails/commands.rb:50:in `<top (required)>'
script/rails:6:in `require'
script/rails:6:in `<main>'
Then when i reload the Frontend the followed error appears:
undefined method `html_safe' for nil:NilClass
Maybe somethin with the fix from Pathlevel 1.0.2 went wrong.
cc: @manufaktor
Right now, the login form etc are in english, but the rest of the backend is in german by default.
Points: 1
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.