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
0
votes
1 answer

refinerycms 'admin' tried to access 'refinery/admin/accommodations' but was rejected

In my refinery extension I have a Congress model that is the "main" model of the extension. Also, I have a Accommodation model that is nested in the Congress route like this: namespace :admin do resources :congresses do resources…
DMagro
  • 7
  • 1
  • 4
0
votes
1 answer

RefineryCMS 3 Search

According to this post from 2012 search, blog and news functionality is built in RefineryCMS 3. However I see no documentation on using these. Could someone please give me a hint how to create a serarch functionality for users on the…
kellins
  • 90
  • 9
0
votes
1 answer

Refinerycms: file names lost after migrating files from one AWS S3 bucket to another

This is how I encountered the problem: Uploaded files to S3 Tried to download the file, it works ok Migrated the files in that bucket to another bucket (under the same AWS account) Tried to download the file again, it works, the file is downloaded,…
0
votes
0 answers

GCI.unescape gives tags generation

def coderay(text) text.gsub(/\\(.+?)\<\/code\>\<\/pre\>/m) do lang = $4 text = CGI.unescapeHTML($5).gsub /\|\<\/code\>/, "" text = text.gsub('
', "\n") …
Sylar
  • 11,422
  • 25
  • 93
  • 166
0
votes
1 answer

What the Error: The page you were looking for doesn't exist?

I unload my Refinery application (ROR) on Heroku. I complete this commands: git push heroku master and heroku open. And I face to problem: The page you were looking for doesn't exist.You may have mistyped the address or the page may have…
Cat
  • 283
  • 1
  • 3
  • 8
0
votes
1 answer

How can i override refinerycms-search views?

I want to customize the display of the search results but I cannot seem to override refinerycms-search views? I have looked at https://gist.github.com/ryandeussing/2502881 and have tried a combination of rake task, but no success.
Shoebie
  • 1,263
  • 2
  • 12
  • 24
0
votes
1 answer

Why can't I access my Refinery CMS route?

I have the following routes in Refinery: $ rake routes | grep blog blog_root /blog(.:format) refinery/blog/posts#index …
Chloe
  • 25,162
  • 40
  • 190
  • 357
0
votes
1 answer

Model Validations with RefineryCMS

Keep getting Syntax Error in Controller due to custom validations. Wondering how exactly I would implement custom validations within…
barnett
  • 1,572
  • 2
  • 13
  • 25
0
votes
1 answer

Caching a method that's got conditional output

I have a method with is used to render news articles on every page. If you aren't on a care home page then it won't render specific news to that home. It's quite a heavy thing to process on every single page request. I was wondering if anyone could…
0
votes
1 answer

Hide page title from all pages, refinerycms

I am using refinerycms 2.1.0. How can i remove page "Company name" title from all pages, I overrided home page then passed :hide_sections => :body_content_title to render '/refinery/content_page'. But it is not working. From guides, one of the…
Aydar Omurbekov
  • 2,047
  • 4
  • 27
  • 53
0
votes
2 answers

Mass Security Assignment to undefined method `attr_accessible

I'm using Rails 3.2.13 and Refinery with Inquiries gem. I needed to add a field to the contact form provided by the Inquiries gem; however, I get this error “WARNING: Can't mass-assign protected attributes” I had read to NOT disable the…
nil
  • 2,238
  • 1
  • 19
  • 28
0
votes
1 answer

Display data in refinery through an API call

I am using Refinery CMS version 2. I want to display the data through an Api call from another project. I want to know how much refinery support this and how. Also i want to use different menu for different pages then how should i do that? I ve used…
Ahmad hamza
  • 1,816
  • 1
  • 23
  • 46
0
votes
1 answer

NoMethodError and Refinery Engine in Rails

I'm trying to reuse a refinery engine on another page in refinery. In the routes.rb i've included: match 'locations/:location_id/' => "locations/#index" What is the right way to do this?
nil
  • 2,238
  • 1
  • 19
  • 28
0
votes
1 answer

RefineryCMS Changing Site Name in Production

I have a refinery site up on heroku and, in order to change the site name I have been going to my local copy, changing config.site_name, adding the new config file to my git repository, and doing git push heroku master. Though I don't anticipate…
VictorO
  • 147
  • 2
  • 8
0
votes
1 answer

Best way to get the Page main title from a menu_branch in Refinery cms?

I'm setting up a RefineryCMS site, I'd like to have the menu links showing the page full title on hover. In other words, every li element of the menu should be in this form:
  • Darme
    • 6,984
    • 5
    • 37
    • 52