为什么我的图像标签不会在窗户上的轨道上的ruby工作

为什么我的图像标签不会在窗户上的轨道上的ruby工作,第1张

概述为什么我的图像标签不会在窗户上的轨道上的ruby工作

我正在做图像的CRUD ..我遇到错误“ExecJs :: ProgramError产品#索引TypeError:对象不支持此属性或方法”当我在我的视图中显示图像

问题:在我看来,我应该如何展示自己的形象? 这是为什么?

注意:我的朋友没有安装任何像imagemagik&paperclip ..我也试图在我的视图(assets / images文件夹)中显示一个静态图像,它不工作

视图

可执行的gem – windows

find当前的windows应用程序

得到SSL,现在所有请求的文件被阻止(混合内容)

(windows Phone 10)是否可以编辑,在windows Phone 10中以编程方式添加新联系人?

windows Mobile 5 SDK是否适用于windows 7.5芒果 *** 作系统手机

<HTML> <head> <Title>MY STORE!</Title> </head> <body> <h1><align="center"> WELCOME TO MY STORE</h1> <%= link_to 'Add Product',new_product_path %> <table border = "1" wIDth="100%"> <tr> <td>ID</td> <td>name</td> <td>Image</td> <td>Size</td> <td>Price</td> <td>Created At</td> <td>Updated At</td> <td>Action</td> </tr> <% @product.each do |p| %> <tr> <td><%= p.ID %></td> <td><%= p.name %></td> <td><%= image_tag p.image %></td> <td><%= p.size %></td> <td><%= p.price %></td> <td><%= p.created_at.strftime("%B,%d,%Y") %></td> <td><%= p.updated_at.strftime("%B,%Y") %></td> <td> <%= link_to 'VIEw',product_path(p) %> <%= link_to 'Edit',edit_product_path(p) %> </td> </tr> <% end %> </table> </body> </HTML>

架构

# This file is auto-generated from the current state of the database. Instead # of editing this file,please use the migrations feature of Active Record to # incrementally modify your database,and then regenerate this schema deFinition. # # Note that this schema.rb deFinition is the authoritative source for your # database schema. If you need to create the application database on another # system,you should be using db:schema:load,not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass,the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 20170406144121) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "carts",force: :cascade do |t| t.integer "product_ID" t.integer "price" t.string "status" t.datetime "created_at",null: false t.datetime "updated_at",null: false end create_table "products",force: :cascade do |t| t.string "name" t.string "size" t.float "price" t.datetime "created_at",null: false t.string "image" end create_table "user",ID: :integer,default: -> { "nextval('customers_ID_seq'::regclass)" },force: :cascade do |t| t.string "full_name" t.string "product_name" t.string "size" t.float "price" t.datetime "created_at",null: false end add_foreign_key "carts","products" end

python读取文件非阻塞在windows上

在windows上安装python3 + lxml

无法追踪潜在的内存覆盖。 windows奇怪

无法将IStorageItem投射到Storagefile

在windows10中安装natlink和python2.7的蜻蜓

该错误通常与windows的CoffeeScript兼容性问题有关。 降级宝石应该可以解决这个问题。

找到您的coffee-script-gem并将其更改为以下内容:

gem 'coffee-script-source','1.8.0'

然后运行:

bundle update coffee-script-source

*请检查错误指向(文件和行)如果此解决方案不起作用,并更新您的问题。

总结

以上是内存溢出为你收集整理的为什么我的图像标签不会在窗户上的轨道上的ruby工作全部内容,希望文章能够帮你解决为什么我的图像标签不会在窗户上的轨道上的ruby工作所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1238571.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-06
下一篇 2022-06-06

发表评论

登录后才能评论

评论列表(0条)

保存