solidusio-contrib / solidus_globalize Goto Github PK
View Code? Open in Web Editor NEW:earth_africa: Model data globalization for Solidus
Home Page: https://solidus.io
License: BSD 3-Clause "New" or "Revised" License
:earth_africa: Model data globalization for Solidus
Home Page: https://solidus.io
License: BSD 3-Clause "New" or "Revised" License
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Hello everyone,
I'm getting an error trying when trying to setup a fresh install of solidus 1.4 and the solidus_globalize
gem when trying to add translations to a Taxon from the backend (http://localhost:3002/en/admin/taxonomies/1/translations
)
Environment : Ruby 2.1.7 / Rails 4.2.6 / Solidus 1.4
(also getting the same error using Ruby 2.3.1 / Rails 5.0.0.1 / Solidus 2.0)
I'm getting an undefined method 'type' for nil:NilClass
error. Reading the manual I thought that it would could come from existing products that were removed but I'm also getting the same error with an empty database.
Here's my error :
Showing /Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb where line #23 raised:
undefined method `type' for nil:NilClass
Extracted source (around line #23):
21
22 <div class="panel-body">
23 <% if @resource.class.columns_hash[attr.to_s].type == :text %>
24 <%= g.text_area attr, class: 'form-control', rows: 4 %>
25 <% else %>
26 <%= g.text_field attr, class: 'form-control' %>
Trace of template inclusion: /Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form.html.erb, /Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/taxonomy.html.erb
Rails.root: /Users/christophe/Development/rails/perso/solitest
Application Trace | Framework Trace | Full Trace
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:23:in `block (3 levels) in _af3ea948e581e27342abd36c5913104a'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:4:in `each'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:4:in `each_with_index'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:4:in `block (2 levels) in _af3ea948e581e27342abd36c5913104a'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:38:in `capture'
actionview (4.2.6) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/config/initializers/form_builder_globalize_patch.rb:49:in `globalize_fields_for'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:3:in `block in _af3ea948e581e27342abd36c5913104a'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:2:in `each'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form_fields.html.erb:2:in `_af3ea948e581e27342abd36c5913104a'
actionview (4.2.6) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.6) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:143:in `render'
deface (1.0.2) lib/deface/action_view_extensions.rb:41:in `render'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:309:in `render'
actionview (4.2.6) lib/action_view/renderer/renderer.rb:51:in `render_partial'
actionview (4.2.6) lib/action_view/helpers/rendering_helper.rb:35:in `render'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form.html.erb:9:in `block in _5eecd06f0115b28bcc029e89459e1d56'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
actionview (4.2.6) lib/action_view/helpers/capture_helper.rb:38:in `capture'
actionview (4.2.6) lib/action_view/helpers/form_helper.rb:444:in `form_for'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/_form.html.erb:8:in `_5eecd06f0115b28bcc029e89459e1d56'
actionview (4.2.6) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.6) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:143:in `render'
deface (1.0.2) lib/deface/action_view_extensions.rb:41:in `render'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.6) lib/action_view/renderer/partial_renderer.rb:309:in `render'
actionview (4.2.6) lib/action_view/renderer/renderer.rb:51:in `render_partial'
actionview (4.2.6) lib/action_view/helpers/rendering_helper.rb:35:in `render'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/views/spree/admin/translations/taxonomy.html.erb:9:in `_1a7c4c4a8ae27da07f6dc207e5280fe8'
actionview (4.2.6) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.6) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.6) lib/action_view/template.rb:143:in `render'
deface (1.0.2) lib/deface/action_view_extensions.rb:41:in `render'
actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.6) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (4.2.6) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (4.2.6) lib/action_view/renderer/renderer.rb:46:in `render_template'
actionview (4.2.6) lib/action_view/renderer/renderer.rb:27:in `render'
actionview (4.2.6) lib/action_view/rendering.rb:100:in `_render_template'
actionpack (4.2.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.2.6) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.2.6) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
actionpack (4.2.6) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/christophe/.rvm/rubies/ruby-2.1.7/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.2.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
/Users/christophe/.rvm/gems/ruby-2.1.7/bundler/gems/solidus_globalize-a662d4d1c551/app/controllers/spree/admin/translations_controller.rb:11:in `index'
actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `call'
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
railties (4.2.6) lib/rails/engine.rb:518:in `call'
railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
versioncake (3.2.0) lib/versioncake/rack/middleware.rb:17:in `call'
warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
warden (1.2.6) lib/warden/manager.rb:34:in `catch'
warden (1.2.6) lib/warden/manager.rb:34:in `call'
rack (1.6.4) lib/rack/etag.rb:24:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
railties (4.2.6) lib/rails/engine.rb:518:in `call'
railties (4.2.6) lib/rails/application.rb:165:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
/Users/christophe/.rvm/rubies/ruby-2.1.7/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/christophe/.rvm/rubies/ruby-2.1.7/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/christophe/.rvm/rubies/ruby-2.1.7/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Request
Parameters:
{"resource"=>"taxonomies",
"resource_id"=>"1",
"locale"=>"en"}
Toggle session dump
Toggle env dump
Response
Headers:
None
Debugging variables using the web console :
>> @resource.class
=> Spree::Taxonomy(id: integer, name: string, created_at: datetime, updated_at: datetime, position: integer)
>> @resource.class.columns_hash
=> {"id"=>#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0x007faa9ff5a220 @array=false, @name="id", @cast_type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer:0x007faa9cabfa60 @precision=nil, @scale=nil, @limit=nil, @range=-2147483648...2147483648>, @sql_type="integer", @null=false, @default=nil, @default_function="nextval('spree_taxonomies_id_seq'::regclass)">, "created_at"=>#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0x007faa9ff59f78 @array=false, @name="created_at", @cast_type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::DateTime:0x007faa9cabe930 @precision=nil, @scale=nil, @limit=nil>, @sql_type="timestamp without time zone", @null=true, @default=nil, @default_function=nil>, "updated_at"=>#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0x007faa9ff59de8 @array=false, @name="updated_at", @cast_type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::DateTime:0x007faa9cabe930 @precision=nil, @scale=nil, @limit=nil>, @sql_type="timestamp without time zone", @null=true, @default=nil, @default_function=nil>, "position"=>#<ActiveRecord::ConnectionAdapters::PostgreSQLColumn:0x007faa9ff59c80 @array=false, @name="position", @cast_type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer:0x007faa9cabfa60 @precision=nil, @scale=nil, @limit=nil, @range=-2147483648...2147483648>, @sql_type="integer", @null=true, @default="0", @default_function=nil>}
>> attr
=> :name
Here's my Gemfile :
source "https://rubygems.org"
gem "rails", "4.2.6"
gem "pg", "~> 0.15"
gem "sass-rails", "~> 5.0"
gem "uglifier", ">= 1.3.0"
gem "coffee-rails", "~> 4.1.0"
gem "solidus"
gem "solidus_auth_devise"
gem "solidus_i18n", github: "solidusio-contrib/solidus_i18n"
gem "globalize", github: "globalize/globalize"
gem "solidus_globalize", github: "solidusio-contrib/solidus_globalize", branch: "master"
gem "jquery-rails"
gem "turbolinks"
gem "jbuilder", "~> 2.0"
gem "sdoc", "~> 0.4.0", group: :doc
Here are my steps to reproduce :
(I use spree:install options to avoid load_samples so I don't get empty translations errors from Globalize)
rails g spree:install --migrate=false --sample=false --seed=false
bundle exec rake railties:install:migrations
bundle exec rake db:migrate
bundle exec rake db:seed
bundle exec rails g solidus:auth:install
bin/rails g solidus_globalize:install
Then added :
Spree.config do |config|
SolidusI18n::Config.available_locales = [:en, :fr] # displayed on frontend select box
SolidusGlobalize::Config.supported_locales = [:en, :fr] # displayed on translation forms
...
to lib/initializers/spree.rb
Thanks for your help! π―
As is, the only thing left to do for me to use it is fixing value problem.
Currently, a lot of duplication goes into translating same values.
details here.
Either this change needs to be done on solidus_core or here, but it's crucial.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f23b4d3)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
You can mention @dependabot in the comments below to contact the Dependabot team.
please make a note on readme that this gem no longer maintained... would save me a couple of days.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
The current master branch code generates the following deprecations on a rails 5.x app:
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead.
DEPRECATION WARNING: prepend_before_filter is deprecated and will be removed in Rails 5.1. Use prepend_before_action instead.
Hello everyone,
We're getting this error with solidus 1.4 and solidus_globalize when trying to view products of a taxon in the frontend (http://solidus/t/whatever/whatever):
We suppose that permalink attribute doesn't exist in Taxon class because of globalize gem (permalink is translatable).
So, we resolve temporarily this issue adding a decorator to TaxonController, replacing find_by_permalink call for:
@taxon = Spree::Taxon.where(permalink: params[:id]).first
But we don't know if this is the best solution.
Thanks.
Steps to reproduce
gem 'solidus'
gem 'solidus_auth_devise'
gem 'globalize', github: 'globalize/globalize'
gem 'solidus_i18n', github: 'solidusio-contrib/solidus_i18n'
gem 'solidus_globalize', github: 'solidusio-contrib/solidus_globalize'
bundle exec rails g spree:install
bundle exec rails g solidus:auth:install
bundle exec rake railties:install:migrations
bundle exec rake db:migrate
bin/rails g solidus_globalize:install
bin/rails g solidus_i18n:install
Expected behavior
Product should be save in the DB
Actual behavior
Error 500 :
PG::UndefinedColumn - ERROR: column friendly_id_slugs.locale does not exist
System configuration
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@251992e)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Only if solidus_globalize in use we have have had autocomplete issue in Product properties name.
It is going from Spree 3.x
Product properties name autocomplete is not working, 'Uncaught TypeError: Cannot read property 'label' of null' is appears in JS log.
Solidus 1.1.x and 1.2.x
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Subject: Solidus master
Now appears same issue with Properties if you use solidus_globalize
spree/spree#6556
solidusio/solidus#647 - issue in Solidus
Previously posted on spree-contrib/spree_globalize#19:
I'm using Spree and Spree_i18n + Spree_globalize on edge master branch and i've reproduced this bug on Solidus 1.2.0.alpha.
I'm not able to use product filters with translated properties, this is my current working progress to fix the issue :
The filter always returns 0 products
Spree::Product.add_search_scope :age_category_any do |*opts|
conds = opts.map {|o| ProductFilters.age_category_filter[:conds][o]}.reject { |c| c.nil? }
scope = conds.shift
conds.each do |new_scope|
scope = scope.or(new_scope)
end
Spree::Product.with_translations(I18n.locale).with_property(144).where(scope)
end
def ProductFilters.age_category_filter
age_category_property = Spree::Property.with_translations(I18n.locale).find_by(name: 'age_category')
age_categories = age_category_property ? Spree::ProductProperty.with_translations(I18n.locale).where(property_id: age_category_property.id).map(&:value).uniq.map(&:to_s) : []
pp = Spree::ProductProperty.arel_table
conds = Hash[*age_categories.map { |b| [b, pp[:value].eq(b)] }.flatten]
{
name: age_category_property.presentation,
scope: :age_category_any,
conds: conds,
labels: (age_categories.sort).map { |k| [k, k] }
}
end
(byebug) Spree::Product.with_translations.with_property(144).count
CACHE (0.0ms) SELECT DISTINCT locale FROM "spree_product_translations" ORDER BY "spree_product_translations"."locale" ASC
(9.0ms) SELECT COUNT(DISTINCT "spree_products"."id") FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = $1 AND "spree_variants"."deleted_at" IS NULL INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" AND "spree_prices"."deleted_at" IS NULL INNER JOIN "spree_product_translations" ON "spree_product_translations"."spree_product_id" = "spree_products"."id" INNER JOIN "spree_product_properties" ON "spree_product_properties"."product_id" = "spree_products"."id" INNER JOIN "spree_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" LEFT OUTER JOIN "spree_products_taxons" ON "spree_products_taxons"."product_id" = "spree_products"."id" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".discontinue_on IS NULL or "spree_products".discontinue_on >= '2015-10-16 17:40:14.577192') AND ("spree_products".discontinue_on IS NULL or "spree_products".discontinue_on >= '2015-10-16 17:40:14.577582') AND ("spree_products".available_on <= '2015-10-16 17:40:14.577806') AND "spree_products_taxons"."taxon_id" = 28 AND "spree_product_translations"."locale" IN ('en', 'fr') AND "spree_properties"."id" = 144 [["is_master", "t"]]
81
(byebug) Spree::Product.with_translations.with_property(144).where(scope).count
CACHE (0.0ms) SELECT DISTINCT locale FROM "spree_product_translations" ORDER BY "spree_product_translations"."locale" ASC
CACHE (0.0ms) SELECT COUNT(DISTINCT "spree_products"."id") FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = $1 AND "spree_variants"."deleted_at" IS NULL INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" AND "spree_prices"."deleted_at" IS NULL INNER JOIN "spree_product_translations" ON "spree_product_translations"."spree_product_id" = "spree_products"."id" INNER JOIN "spree_product_properties" ON "spree_product_properties"."product_id" = "spree_products"."id" INNER JOIN "spree_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" LEFT OUTER JOIN "spree_products_taxons" ON "spree_products_taxons"."product_id" = "spree_products"."id" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".discontinue_on IS NULL or "spree_products".discontinue_on >= '2015-10-16 17:40:14.577192') AND ("spree_products".discontinue_on IS NULL or "spree_products".discontinue_on >= '2015-10-16 17:40:14.577582') AND ("spree_products".available_on <= '2015-10-16 17:40:14.577806') AND "spree_products_taxons"."taxon_id" = 28 AND "spree_product_translations"."locale" IN ('en', 'fr') AND "spree_properties"."id" = 144 AND "spree_product_properties"."value" = '18 mois Γ 12 ans' [["is_master", true]]
0
I think my arel_table
method doesn't support translated product_properties.
Is someone could help me ?
BTW, thanks for your awesome job on Spree and Solidus and sorry for duplicates... :)
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
/usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/app/models/spree/store_decorator.rb:3:in `block in <module:Spree>': undefined method `translates' for Store:Module (NoMethodError)
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/app/models/spree/store_decorator.rb:2:in `class_eval'
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/app/models/spree/store_decorator.rb:2:in `<module:Spree>'
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/app/models/spree/store_decorator.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in `load'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in `block in load'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in `load'
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/lib/solidus_globalize/engine.rb:27:in `block in activate'
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/lib/solidus_globalize/engine.rb:26:in `glob'
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/solidus_globalize-1538996926f2/lib/solidus_globalize/engine.rb:26:in `activate'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:396:in `instance_exec'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:396:in `block in make_lambda'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:169:in `block (2 levels) in halting'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:547:in `block (2 levels) in default_terminator'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:546:in `catch'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:546:in `block in default_terminator'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:170:in `block in halting'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:454:in `block in call'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:454:in `each'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:454:in `call'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:750:in `_run_prepare_callbacks'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb:87:in `prepare!'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/application.rb:352:in `initialize!'
from /Users/andrei/dev/am-solidus-default-store/config/environment.rb:5:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/local/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application.rb:92:in `preload'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application.rb:143:in `serve'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application.rb:131:in `block in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application.rb:125:in `loop'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application.rb:125:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/spring-2.0.1/lib/spring/application/boot.rb:19:in `<top (required)>'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/Cellar/ruby/2.3.1_2/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
source "https://rubygems.org"
ruby "2.3.1"
gem "autoprefixer-rails"
# gem "delayed_job_active_record"
gem "flutie"
gem "jquery-rails"
gem "pg"
gem "puma"
gem "rack-canonical-host"
gem "rails", "~> 5.0.2"
gem "recipient_interceptor"
gem "sass-rails", "~> 5.0"
gem "sprockets", ">= 3.0.0"
gem "uglifier"
gem "turbolinks"
gem "aws-sdk"
gem "solidus", "~> 2.2.0.rc1"
gem "solidus_auth_devise"
gem 'solidus_i18n', github: 'solidusio-contrib/solidus_i18n', branch: 'master'
gem 'globalize', github: 'globalize/globalize'
gem 'solidus_globalize', github: 'AndreiMotinga/solidus_globalize'
group :development do
gem "spring"
gem "spring-commands-rspec"
gem "web-console"
end
group :development, :test do
gem "awesome_print"
gem "bullet"
gem "bundler-audit", ">= 0.5.0", require: false
gem "dotenv-rails"
gem "factory_girl_rails"
gem "pry-byebug"
gem "pry-rails"
gem "rspec-rails", "~> 3.5.0.beta4"
end
group :development, :staging do
gem "rack-mini-profiler", require: false
end
group :test do
gem "capybara-webkit"
gem "database_cleaner"
gem "formulaic"
gem "launchy"
gem "shoulda-matchers"
gem "simplecov", require: false
gem "timecop"
gem "webmock"
end
group :staging, :production do
gem "rack-timeout"
gem "rails_stdout_logging"
end
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
ruby 2.4.2
rails 5.1.4
solidus 2.4.2
[1] pry(main)> Spree::Product.only_deleted.first.really_destroy!
Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE ("spree_products"."deleted_at" IS NOT NULL) ORDER BY "spree_products"."id" ASC LIMIT $1 [["LIMIT", 1]]
(0.3ms) BEGIN
Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = $1 ORDER BY "spree_variants"."position" ASC [["product_id", 88]]
Spree::Product::Translation Load (0.8ms) SELECT "spree_product_translations".* FROM "spree_product_translations" WHERE "spree_product_translations"."spree_product_id" = $1 [["spree_product_id", 88]]
SQL (0.7ms) UPDATE "spree_product_translations" SET "deleted_at" = '2018-01-24 14:51:53.623714', "updated_at" = '2018-01-24 14:51:53.623775' WHERE "spree_product_translations"."id" = $1 [["id", 98]]
SQL (0.5ms) DELETE FROM "spree_product_translations" WHERE "spree_product_translations"."id" = $1 [["id", 98]]
(0.3ms) ROLLBACK
RuntimeError: Can't modify frozen hash
from /home/adamkov/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_set/builder.rb:49:in `[]='
PR is based on solidus core behavior (solidusio/solidus@581f919#diff-327ceda9367add32373743b9f3692285)
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
I get this error when going to
/admin/products/ruby-hoodie/translations
Showing /Users/will/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/solidus_globalize-47c8f90bcf48/app/views/spree/admin/translations/_settings.html.erb where line #17 raised:
undefined local variable or method `preferences' for #<Spree::Store:0x00007fc78164a7f8>
Did you mean? preference_type
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
We should loosen the dependency on globalize
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
I have an extra model Spree::Post which has translated columns :title, :slug, :body
module Spree
class Post < Spree::Base
translates :title, :slug, :body, fallbacks_for_empty_translations: true
extend FriendlyId
friendly_id :slug_candidates, use: [:history, :slugged]
include SolidusGlobalize::Translatable
...
end
end
In the backend when I try to search by title with ransack, it doesn't include the param :translations_title_cont
to the query when retrieving from the spree_post_translations
table. Any ideas what wrong?
Thanks in advance!
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Hi there, and thanks for a great gem!
I need some help adding globalization to another model. I added this code to the model decorator and migration:
module Spree
Page.class_eval do
translates :title, :slug, :body, :meta_title, :meta_description, :meta_keywords,
fallbacks_for_empty_translations: true
include SolidusGlobalize::Translatable
end
end
class AddTranslationsToPage < ActiveRecord::Migration
def up
unless table_exists?(:spree_page_translations)
params = { title: :string, slug: :string, body: :text, meta_title: :string, meta_description: :text, meta_keywords: :text }
Spree::Page.create_translation_table!(params, { migrate_data: true })
end
end
def down
Spree::Page.drop_translation_table! migrate_data: true
end
end
When I run the migration, this is what I get:
$ rake db:migrate
rake aborted!
NoMethodError: undefined method `whitelisted_ransackable_associations' for #<Class:0x0000000b04c8f0>
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activerecord-4.2.6/lib/active_record/dynamic_matchers.rb:26:in `method_missing'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/bundler/gems/solidus_globalize-02ed2c1d3937/app/models/concerns/solidus_globalize/translatable.rb:7:in `block in <module:Translatable>'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activesupport-4.2.6/lib/active_support/concern.rb:120:in `class_eval'
...
If I move include SolidusGlobalize::Translatable
above the translates ...
call, I get a different message when running the migration:
$ rake db:migrate
rake aborted!
ArgumentError: No association found for name `translations'. Has it been defined yet?
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activerecord-4.2.6/lib/active_record/nested_attributes.rb:319:in `block in accepts_nested_attributes_for'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activerecord-4.2.6/lib/active_record/nested_attributes.rb:307:in `each'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activerecord-4.2.6/lib/active_record/nested_attributes.rb:307:in `accepts_nested_attributes_for'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/bundler/gems/solidus_globalize-02ed2c1d3937/app/models/concerns/solidus_globalize/translatable.rb:6:in `block in <module:Translatable>'
/home/m/.rvm/gems/ruby-2.3.0@viniditerroir_solidus/gems/activesupport-4.2.6/lib/active_support/concern.rb:120:in `class_eval'
which is kind of expected. What am I missing?
Let me just add that I successfully added solidus_globalize and run all of its migrations.
I can't get solidus work with solidus_i18n and solidus globalize
on product Get this error for Variants, Prices, Product Properties tabs
Completed 500 Internal Server Error in 39ms (ActiveRecord: 2.0ms)
NoMethodError (undefined method `find_by_slug' for #<Class:0x007ff53b8358f0>
Did you mean? find_by_sql):
activerecord (5.0.2) lib/active_record/dynamic_matchers.rb:21:in `method_missing'
solidus_backend (2.2.0.beta1) app/controllers/spree/admin/resource_controller.rb:167:in `parent'
solidus_backend (2.2.0.beta1) app/controllers/spree/admin/resource_controller.rb:189:in `collection'
solidus_backend (2.2.0.beta1) app/controllers/spree/admin/resource_controller.rb:144:in `load_resource'
activesupport (5.0.2) lib/active_support/callbacks.rb:382:in `block in make_lambda'
activesupport (5.0.2) lib/active_support/callbacks.rb:150:in `block (2 levels) in halting_and_conditional'
actionpack (5.0.2) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
activesupport (5.0.2) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
activesupport (5.0.2) lib/active_support/callbacks.rb:454:in `block in call'
activesupport (5.0.2) lib/active_support/callbacks.rb:454:in `each'
activesupport (5.0.2) lib/active_support/callbacks.rb:454:in `call'
activesupport (5.0.2) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.0.2) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.0.2) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (5.0.2) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.0.2) lib/active_support/notifications.rb:164:in `instrument'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.0.2) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
activerecord (5.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (5.0.2) lib/abstract_controller/base.rb:126:in `process'
actionview (5.0.2) lib/action_view/rendering.rb:30:in `process'
actionpack (5.0.2) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (5.0.2) lib/action_controller/metal.rb:262:in `dispatch'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
railties (5.0.2) lib/rails/engine.rb:522:in `call'
railties (5.0.2) lib/rails/railtie.rb:193:in `public_send'
railties (5.0.2) lib/rails/railtie.rb:193:in `method_missing'
actionpack (5.0.2) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
actionpack (5.0.2) lib/action_dispatch/routing/mapper.rb:46:in `serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in `block in serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `each'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in `serve'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in `call'
versioncake (3.2.0) lib/versioncake/rack/middleware.rb:17:in `call'
bullet (5.5.1) lib/bullet/rack.rb:12:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.1) lib/rack/etag.rb:25:in `call'
rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.1) lib/rack/head.rb:12:in `call'
rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.0.2) lib/active_record/migration.rb:553:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
web-console (3.5.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.0) lib/web_console/middleware.rb:18:in `catch'
web-console (3.5.0) lib/web_console/middleware.rb:18:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.0.2) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
request_store (1.3.2) lib/request_store/middleware.rb:9:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.2) lib/rails/engine.rb:522:in `call'
puma (3.8.2) lib/puma/configuration.rb:224:in `call'
puma (3.8.2) lib/puma/server.rb:600:in `handle_request'
puma (3.8.2) lib/puma/server.rb:435:in `process_client'
puma (3.8.2) lib/puma/server.rb:299:in `block in run'
puma (3.8.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Rendering /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.5ms)
Rendering /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendering /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
Rendered /usr/local/lib/ruby/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (93.8ms)
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Hi there,
I am struggling since one whole day with an installation of Solidus_globalize. Can someone tell me please which version of solidus_globalize works with Solidus for production?
The following chart suggests none of them:
Which version can I use? Or is that list βrealβ? Do I have to go lower?
Any help would be appreciated...
Thank you
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@f86dfaf)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
GET /
Results in:
NameError in Spree::HomeController#index
uninitialized constant SolidusGlobalize::ControllerGlobalizeHelper::Fallbacks
In bundler/gems/solidus_globalize-1538996926f2/app/controllers/concerns/solidus_globalize/controller_globalize_helper.rb
def globalize_fallbacks
Fallbacks.config!
end
This only happens in environments that have:
config.cache_classes = true
config.eager_load = true
ruby 2.4.0
rails 5.0.2
solidus 2.1.0
solidus_auth_devise 1.6.2
solidusio/solidus_i18n@4abcb7a
1538996
globalize/globalize@2fd4270
Any suggestions how to resolve it?
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "solidus_i18n":
In Gemfile:
solidus_i18n
solidus_globalize was resolved to 0.0.1, which depends on
solidus_i18n (~> 1.0)
Could not find gem 'solidus_i18n (~> 1.0)', which is required by gem 'solidus_globalize', in any of the relevant sources:
git://github.com/solidusio-contrib/solidus_i18n.git (at master@1af1b82)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
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.