I need to get the record from database and i want to display that record value on home page. My table name is refierny_about. I have a model. It was created while I generating the engine.
Thanks for your advise.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My guess is “About” is your custom extension do this.
The syntax here is: The
Refinery Namespace::Your Extension Namespace::Extension Model Nameso you can use the controller is
Refinery::Abouts::About.allapp\decorators\controllers\refinery\pages_controller_decorator.rbhere past this codeand its your html code.