rails g gemgento:install
gemgento / gemgento Goto Github PK
View Code? Open in Web Editor NEWrails to magento bridge
rails to magento bridge
rails g gemgento:install
When a product is purchased all product data must be locked. This should be done by saving all product information as a serialized hash attribute of OrderItem
SQL being run: SELECT gemgento_product_attribute_values
.* FROM gemgento_product_attribute_values
WHERE gemgento_product_attribute_values
.product_id
IN (?, ?, ?, ?, ?, ?, ?, ?)
can we make 1 pt sizes smaller?
all titles should use the same font styling (size, font weight, etc.) and should be lowercase.
'trusted by' and 'gemgento specs' should have the same styling. @celestemartin can follow up with specific fonts sizes if you need but everything should be correct in the latest PSD on sftp here:
http://c.mny.mx/gem/designs/011714/jpg/MNY-GEMGENTO-011714_0000_OVERVIEW%20-%20why%20magento.jpg
Rails version: 4.2.6
ruby: 2.2.3p173
Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.6)
actionpack (= 4.2.6)
actionview (= 4.2.6)
activejob (= 4.2.6)
mail (> 2.5, >= 2.5.4)> 1.0, >= 1.0.5)
rails-dom-testing (
actionpack (4.2.6)
actionview (= 4.2.6)
activesupport (= 4.2.6)
rack (> 1.6)> 0.6.2)
rack-test (
rails-dom-testing (> 1.0, >= 1.0.5)> 1.0, >= 1.0.2)
rails-html-sanitizer (
actionview (4.2.6)
activesupport (= 4.2.6)
builder (> 3.1)> 2.7.0)
erubis (
rails-dom-testing (> 1.0, >= 1.0.5)> 1.0, >= 1.0.2)
rails-html-sanitizer (
active_touch (3.0.3)
rails (> 4.2)> 3.1)
activeadmin (1.3.0)
arbre (>= 1.1.1)
coffee-rails
formtastic (
formtastic_i18n
inherited_resources (>= 1.7.0)
jquery-rails (>= 4.2.0)
kaminari (>= 0.15)
railties (>= 4.2, < 5.3)
ransack (> 1.3)> 3.1)
sass (
sprockets (< 4.1)
activejob (4.2.6)
activesupport (= 4.2.6)
globalid (>= 0.3.0)
activemodel (4.2.6)
activesupport (= 4.2.6)
builder (> 3.1)> 6.0)
activerecord (4.2.6)
activemodel (= 4.2.6)
activesupport (= 4.2.6)
arel (
activeresource (4.1.0)
activemodel (> 4.0)> 4.0)
activesupport (
rails-observers (> 0.1.2)> 0.7)
activesupport (4.2.6)
i18n (
json (> 1.7, >= 1.7.7)> 5.1)
minitest (
thread_safe (> 0.3, >= 0.3.4)> 1.1)
tzinfo (
akami (1.2.2)
gyoku (>= 0.4.0)
nokogiri
arbre (1.1.1)
activesupport (>= 3.0.0)
arel (6.0.4)
bcrypt (3.1.12)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
builder (3.2.3)
byebug (10.0.2)
climate_control (0.2.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.2)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.3)
connection_pool (2.2.2)
crass (1.0.4)
debug_inspector (0.0.3)
devise (4.5.0)
bcrypt (> 3.0)> 0.1)
orm_adapter (
railties (>= 4.1.0, < 6.0)
responders
warden (> 1.2.3)> 2.1, < 3)
erubis (2.7.0)
execjs (2.7.0)
ffi (1.9.25)
formtastic (3.1.5)
actionpack (>= 3.2.13)
formtastic_i18n (0.6.0)
gemgento (2.8.0)
active_touch (>= 3.0.2, < 4)
activeadmin (>= 1.0.0.pre1)
coffee-rails (>= 4.0.0, < 5)
devise (>= 3.2.2, < 5)
haml (>= 4.0.0, < 5)
jbuilder (>= 2.1.3, <= 3)
kaminari (>= 0.14, < 1)
mysql2 (>= 0.3, < 1)
paperclip (>= 4.0.0, < 5)
paperclip-meta (>= 1.1.0, < 2.1)
picturefill (>= 0.1.3, < 1)
rails (>= 4.2, < 5)
roo (
roo-xls (> 1.0, < 2)> 2.2.0, < 3)
sass-rails (>= 4.0.0, < 6)
savon (
shopify_api (> 3.2.4, < 4)> 1.4.6, < 2)
sidekiq (>= 4.0.0, < 5)
sinatra (
state_machine (>= 1.2.0, < 2)
globalid (0.4.1)
activesupport (>= 4.2.0)
gyoku (1.0.0)
builder (>= 2.1.2)
haml (4.0.7)
tilt
has_scope (0.7.2)
actionpack (>= 4.1)
activesupport (>= 4.1)
httpi (2.0.2)
rack
i18n (0.9.5)
concurrent-ruby (> 1.0)> 0.6)
inherited_resources (1.8.0)
actionpack (>= 4.2, <= 5.2)
has_scope (
railties (>= 4.2, <= 5.2)
responders
jbuilder (2.8.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jquery-rails (4.3.3)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.6)
kaminari (0.17.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
loofah (2.2.3)
crass (> 1.0.2)> 3.2015)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (
mime-types-data (3.2018.0812)
mimemagic (0.3.0)
mini_mime (1.0.1)
mini_portile2 (2.3.0)
minitest (5.11.3)
multi_json (1.13.1)
mysql2 (0.5.2)
nokogiri (1.8.5)
mini_portile2 (> 2.3.0)> 0.5.5)
nori (2.1.0)
orm_adapter (0.5.0)
paperclip (4.3.7)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (
mime-types
mimemagic (= 0.3.0)
paperclip-meta (2.0.2)
paperclip (> 4.0)> 1.1.0)
picturefill (0.1.3)
pry (0.12.2)
coderay (
method_source (> 0.9.0)> 1.6)
rack (1.6.11)
rack-protection (1.5.5)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.6)
actionmailer (= 4.2.6)
actionpack (= 4.2.6)
actionview (= 4.2.6)
activejob (= 4.2.6)
activemodel (= 4.2.6)
activerecord (= 4.2.6)
activesupport (= 4.2.6)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.6)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.9)
activesupport (>= 4.2.0, < 5.0)
nokogiri (
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.4)
loofah (> 2.2, >= 2.2.2)> 1)
rails-observers (0.1.5)
activemodel (>= 4.0)
railties (4.2.6)
actionpack (= 4.2.6)
activesupport (= 4.2.6)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.3.2)
ransack (1.8.9)
actionpack (>= 3.0, <= 5.1.1)
activerecord (>= 3.0, <= 5.1.1)
activesupport (>= 3.0, <= 5.1.1)
i18n
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rdoc (4.3.0)
redis (3.3.5)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
roo (2.7.1)
nokogiri (
rubyzip (> 1.1, < 2.0.0)> 4.0.0)
roo-xls (1.2.0)
nokogiri
roo (>= 2.0.0, < 3)
spreadsheet (> 0.9.0)
ruby-ole (1.2.12.1)
rubyzip (1.2.2)
sass (3.7.2)
sass-listen (
sass-listen (4.0.0)
rb-fsevent (> 0.9, >= 0.9.4)> 0.9, >= 0.9.7)
rb-inotify (
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (> 3.1)> 1.2.0)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
savon (2.2.0)
akami (
builder (>= 2.1.2)
gyoku (> 1.0.0)> 2.0.2)
httpi (
nokogiri (>= 1.4.0)
nori (> 2.1.0)> 3.1.0)
wasabi (
sdoc (0.4.2)
json (> 1.7, >= 1.7.7)> 4.0)
rdoc (
shopify_api (3.2.7)
activeresource
pry (>= 0.9.12.6)
thor (> 0.18.1)> 1.0)
sidekiq (4.2.10)
concurrent-ruby (
connection_pool (> 2.2, >= 2.2.0)> 3.2, >= 3.2.1)
rack-protection (>= 1.5.0)
redis (
sinatra (1.4.8)
rack (> 1.5)> 1.4)
rack-protection (
tilt (>= 1.3, < 3)
spreadsheet (1.1.8)
ruby-ole (>= 1.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (3.7.2)
concurrent-ruby (> 1.0)> 5.2)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
state_machine (1.2.0)
thor (0.18.1)
thread_safe (0.3.6)
tilt (2.0.9)
turbolinks (5.2.0)
turbolinks-source (
turbolinks-source (5.2.0)
tzinfo (1.2.5)
thread_safe (> 0.1)> 2.0)
uglifier (4.1.20)
execjs (>= 0.3.0, < 3)
warden (1.2.7)
rack (>= 1.0)
wasabi (3.1.0)
httpi (
nokogiri (>= 1.4.0)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
PLATFORMS
ruby
DEPENDENCIES
byebug
coffee-rails (> 4.1.0)> 2.0)
gemgento
jbuilder (
jquery-rails
rails (= 4.2.6)
sass-rails (> 5.0)> 0.4.0)
sdoc (
spring
sqlite3
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)
BUNDLED WITH
1.16.6
rails g gemgento:install
Error:
.rvm/gems/[email protected]/gems/gemgento-2.8.0/lib/generators/gemgento/install_generator.rb:17:in include_application_helper': undefined method
join' for nil:NilClass (NoMethodError)
Here at install_generator.rb:17 I am getting Rails.root nil.
Please let me know If I miss something.
Contact in header does not link
favicon ico here: http://c.mny.mx/gem/favicon/favicon_gemgento.ico
The back.png image is not in the repository.
Started GET "/images/back.png" for 127.0.0.1 at 2014-05-15 10:58:43 -0400
ActionController::RoutingError (No route matches [GET] "/images/back.png"):
should link to bottom of home page where OP case study is
SQL (0.2ms) INSERT INTO gemgento_regions
(code
, country_id
, created_at
, magento_id
, name
, updated_at
) VALUES ('Ādažu novads', 134, '2014-05-15 16:45:51', 471, 'Ādažu novads', '2014-05-15 16:45:51')
Mysql2::Error: Incorrect string value: '\xC4\x80da\xC5\xBE...' for column 'code' at row 1: INSERT INTO gemgento_regions
(code
, country_id
, created_at
, magento_id
, name
, updated_at
) VALUES ('Ādažu novads', 134, '2014-05-15 16:45:51', 471, 'Ādažu novads', '2014-05-15 16:45:51')
(0.1ms) ROLLBACK
ActiveRecord::StatementInvalid: Mysql2::Error: Incorrect string value: '\xC4\x80da\xC5\xBE...' for column 'code' at row 1: INSERT INTO gemgento_regions
(code
, country_id
, created_at
, magento_id
, name
, updated_at
) VALUES ('Ādažu novads', 134, '2014-05-15 16:45:51', 471, 'Ādažu novads', '2014-05-15 16:45:51')
design files here: http://c.mny.mx/gem/designs/cms/052914/
Make sure there are no product stand ins
It is unclear whether this supports Magento 2. (v2 in the context of this gem may have nothing to do with Magento, and may only be version 2 of the gem itself.)
Could you add to the README whether or not Magento 2 is supported?
this causes an error when first viewing gemgento
if turbolinks isn't in host application's Gemfile, then this error occurs:
couldn't find file 'turbolinks'
(in /var/www/bones/shared/bundle/ruby/2.0.0/bundler/gems/gemgento-1dfd8ba71443/app/assets/javascripts/gemgento/default-views/application.js:15)
after
Gemgento::Sync.everything
I get:
^^^ Success ^^^
NoMethodError: undefined method `name' for nil:NilClass
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/merger.rb:141:in `block in filter_binds'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/merger.rb:141:in `delete_if'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/merger.rb:141:in `filter_binds'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/merger.rb:116:in `merge_multi_values'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/merger.rb:72:in `merge'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/spawn_methods.rb:44:in `merge!'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:99:in `block (2 levels) in add_constraints'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:94:in `each'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:94:in `block in add_constraints'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:44:in `each'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:44:in `each_with_index'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:44:in `add_constraints'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association_scope.rb:19:in `scope'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association.rb:103:in `association_scope'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/association.rb:87:in `scope'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/collection_association.rb:382:in `scope'
... 2 levels...
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/collection_association.rb:37:in `reader'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/associations/builder/association.rb:70:in `product_attribute_sets'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/api/soap/catalog/product_attribute.rb:104:in `sync_magento_to_local'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/api/soap/catalog/product_attribute.rb:10:in `block (2 levels) in fetch_all'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/api/soap/catalog/product_attribute.rb:9:in `each'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/api/soap/catalog/product_attribute.rb:9:in `block in fetch_all'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/delegation.rb:13:in `each'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.1/lib/active_record/relation/delegation.rb:13:in `each'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/api/soap/catalog/product_attribute.rb:8:in `fetch_all'
from /var/www/production.gemgentoapp/shared/bundle/ruby/2.0.0/gems/gemgento-0.9.0/app/models/gemgento/sync.rb:76:in `everything'
from (irb):2
Products need a HABTM relationship to stores
drag and drop has large delay because of the need to individually update product positions.
can we make 1 pt sizes smaller?
implementation details were discussed in 1e091ae
Categories that are deleted in Magento are not registered in Gemgento
Slow running sql query in Gemgento::ProductsController#show
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.