Questions tagged [refinery]

Refinery is a Ruby on rails CMS that supports Rails 5.1+.

Refinery is a Ruby on rails CMS that supports Rails 5.1+, it is perfect for creating custom content manageable websites the "The Rails Way".

49 questions
1
vote
0 answers

Rails Contact Form with Refinery CMS - No Database

I have tried actionmailer and other gem methods to create a simple contact form in refinery. All I want this form to do is send an email. I have tried this at the app level, and I have tried to add these within the vendor folders as a separate…
nil
  • 2,238
  • 1
  • 19
  • 28
1
vote
2 answers

moving from Joomla to Refinery

I have an idea to move site from PHP (Joomla + pure php) to Ruby on Rails (Refinery CMS). Old site has links with .html and .php extensions. Is there a way to keep old urls the same (I don't want to loose Google PageRank)? I tried to use …
Fivell
  • 11,829
  • 3
  • 61
  • 99
1
vote
1 answer

Insert non-Refinery link into Refinery navigation menu

Refinery generates its navigation menu in the _menu and _menu_branch helpers. I want to keep the provided logic since it allows a user to create a new page. However, let's say I have a model Product and I want to insert a link to the show action of…
Jonathan Hwa
  • 355
  • 2
  • 4
  • 13
1
vote
2 answers

Refinery Image Uploading giving no route match (How do you change default image route in refinery?)

When uploading an image to the Refinery CMS I get a broken link. No route matches [GET] "/system/images/W1siZiIsIjIwMTMvMDUvMDgvMjFfMjBfMjFfMzlfc3RlYWtfZmluYWwuanBnIl1d/steak-final.jpg" Any idea why could this be happening or is there a…
ShivamD
  • 931
  • 10
  • 21
1
vote
1 answer

how to render collection from home page in rails 3.12

in rails I would have a controller for widgets with an index, show, and crud methods. the index controller would have a simple @widgets = Widget.all respond_to do |format| format.html format.json {render :json => @widgets} then, on my home…
rakitin
  • 1,943
  • 6
  • 25
  • 51
1
vote
1 answer

adding more functions in refinery controller and getting error

I am new Refinerycms. I create my own engine called "foodfind" (FoodFinder\vendor\extensions\foodfinds). to become flexible I want to add more functions in client side controller (app\controllers\refinery\foodfinds\foodfinds_controller.rb) and their…
1
vote
0 answers

RefineryCMS Image URL Incorrect

I'm writing an engine for RefineryCMS for a product photo gallery. I'm writing the gallery page using backbone and doing most of the rendering via frontend templates and javascript using backbone. So basically I am just sending my products to the…
1
vote
0 answers

How to test refinery sessions controller

I've overridden Refinery's session controller and not even modified it yet, as I'm trying to write some specs for it. The controller lives in app/controllers/refinery/sessions_controller: module Refinery class SessionsController <…
Yule
  • 9,668
  • 3
  • 51
  • 72
0
votes
1 answer

KX refinery connection and get data from tables

I need to connect to Kx refinery and get the table data . Table Name : stock I tried to use: \c `:host:port //gives output as 25 80i getTicks[`stock;startDate;endDate] //does not work ,shows error near getTicks
Dhanuushri
  • 15
  • 3
0
votes
1 answer

How do I override the layout for a custom extension in RefineryCMS?

I generated an extension for RefineryCMS, following the instructions in the Refinery Guide for 'Generate an Extension to Use Your MVCs'. I now need to alter the layout, but where is it? I cannot find any documentation that will tell me where I might…
Jayne Doe
  • 1
  • 1
0
votes
1 answer

How do I find a model for Refinery's built-in users in Rails

I am using Refinery and want to make edits to a RefineryUser. In the schema file I see the following: create_table "refinery_authentication_devise_users", force: :cascade do |t| t.string "username", null: false t.string …
Philip7899
  • 4,599
  • 4
  • 55
  • 114
0
votes
1 answer

NoMethodError in Refinery::Blog::Posts#index

When I want to go to "localhost:3000/blog" the web page gives this error... Showing C:/Sites/ifurniture/app/views/refinery/blog/posts/index.html.erb where line #3 raised: undefined method `to_sym' for {:title=>"Body",…
iFurniture
  • 25
  • 1
  • 8
0
votes
1 answer

Exporting existing uploaded images in Refinery to Amazon S3

I have an existing Rails RefineryCMS application, which have been running for quite some time. It has alot of image and document uploads, which always have been uploaded to the local filesystem. But we are moving to Heroku, then this will be a…
znowm4n
  • 21
  • 3
0
votes
1 answer

Refinerycms how to upload image to events, but the image saved to refinery_images table

newbie in rails, i'm trying to use refinerycms in my rails app, refinery already available to upload an images to the database, i'm trying to combine it to an extension that i use, "events" extension, so when i create a new events that should create…
0
votes
1 answer

Rails is not rendering my HTML data attributes (RefineryCMS)

I have the following view refinery/portfolio/items/_item.html.erb from RefineryCMS and for some reason my data-attributes are not being rendered into the DOM. From my understanding it seems that RefineryCMS is potentially removing them? Rails 4.2.6…
arinh
  • 206
  • 1
  • 12