I am building an app that every company has it own private
schema(Postgresql).
For every requisition, I set the Postgres search path in a before_action
like this:
ActiveRecord::Base.connection.schema_search_path = 'company_id, public'
If I have multiple Unicorn workers, and one worker 'A'
Colin Law wrote in post #1146291:
I can assure you that railstutorial.org most certainly shows you how
to fetch data from the database. I have also pointed you at the Rails
Guides and you said you had looked at them. Have another look at the
one on ActiveRecord Query Interface for different
On Monday, May 19, 2014 2:18:30 PM UTC+12, Reginaldo Junior wrote:
I am building an app that every company has it own private schema(Postgresql).
For every requisition, I set the Postgres search path in a before_action like
this:ActiveRecord::Base.connection.schema_search_path = 'company_id,
Hello everyone.
Does anyone had experience of installing rvm for this linux server?
During rvm installation an error pops up that says i dont have the
following libs: sqlite-devel gdbm-devel zlib-devel openssl-devel
ncurses-devel readline-devel. Sudo zypper update says that its already
up to date.
On 16 May 2014 14:54, Walter Lee Davis wa...@wdstudio.com wrote:
controller then just create one specifically for searches. However,
That is down to how you structure your form tag in that view. This can be as
simple as a hand-coded form (no need for form_for helper here) and
whatever you
Finaly I find this tutorial to solve my problem:
http://www.stefanosioannou.com/rails-4-simple-search-form/
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and
Good afternoon,
I'm trying to deploy the following. When the user select one image, this
one is open in a modal window, but each image that is tiggered by the user
opens the same picture. The first one.
Here is the code:
div id='user-home-gallery' class='user-container'
% cache
On Sun, May 18, 2014 at 11:32 PM, Fab Forestier li...@ruby-forum.com wrote:
one on ActiveRecord Query Interface for different ways to fetch data.
Indeed they show how to fetch data from the database but I have only
seen exemples with scaffold's views, I mean _form, new, index...
Seriously?
Hello,guys. I have a problem with unicorn start on boot (OS is gentoo).
I write in /etc/local.d/local.start file:
#!bin/sh
/etc/init.d/unicorn start
and when I reboot computer it can't start my rails application and in
unicorn.stderr.log writes 'require cannot load such file --
For those of you who don't like the current gem search engine at
rubygems.org, I have deployed a better search engine at
http://www.rubygemsearch.org/ .
You can search Ruby gems by name, by description, or by other parameters.
You can sort the results by number of downloads or by other
On Mon, May 19, 2014 at 9:18 AM, Ed Ed li...@ruby-forum.com wrote:
Hello,guys. I have a problem with unicorn start on boot (OS is gentoo).
I write in /etc/local.d/local.start file:
#!bin/sh
/etc/init.d/unicorn start
and when I reboot computer it can't start my rails application and
I have the latest rails, opal and opal-rails installed and created a
project with the -j opal option. My Gemfile shows the `gem opal` entry
listed but when I run `rails g controller ` I get this error:
invoke assets
error opal [not found]
gvim
--
You received this message because you
Hi,
I have asked this question on
githubhttps://github.com/rails/rails/issues/15175
.
Senny answered me to set
export SECRET_KEY_BASE =d1f4810e662acf46a33960e3aa5bd0
in your peoduction server. but I do not know how to set that. I am
deploying in openshift. I also have
If using bash edit your ~/.bashrc or ~/.bash_profile and add that line, if
using zsh edit your ~/.zshrc reload your terminal, restart your app and
you're done
2014-05-19 1:27 GMT-07:00 Reza Ardestani re.ardesta...@gmail.com:
Hi,
I have asked this question on
Hello all,
My team is working on an existing Rails 3.2 application, which is basically
a web service for managing remote devices. We are able to manage android
and windows devices remotely now. For the next version, we want to add
support for iOS. Although, we are not sure we'll have all the
On Mon, May 19, 2014 at 11:22 AM, Benjamin Iandavid Rodriguez
ian@gmail.com wrote:
If using bash edit your ~/.bashrc or ~/.bash_profile and add that line, if
using zsh edit your ~/.zshrc reload your terminal, restart your app and
you're done
Right, because having that information in a file
Hey Hassan,
While I agree that having the secret key base defined in the secrets.yml
file is better, remember that this feature was introduced in Rails 4.1
How would you know if this is the case?
I made that recommendation as he stated that the answer from github was to
set the secret keybase
On Mon, May 19, 2014 at 3:22 PM, Benjamin Iandavid Rodriguez
ian@gmail.com wrote:
I made that recommendation as he stated that the answer from github was to
set the secret keybase using export. So please dont be rude and have a
little more respect for those who aren't as experienced as you
Hi guys
I have problem when i try to link to my new page, can any one help me.
thanks and regard.
get link/home
get link/about
On Wednesday, May 7, 2014 7:00:17 AM UTC-7, Pratap Patil wrote:
Hi guys
Firstly rake routes on console , check existing path is available. Not
available then
Thanks for sll answers.
I have asked this question specifically for openshif service.
The answer is posted in this
questionhttp://stackoverflow.com/questions/23726110/missing-production-secret-key-base-in-rails
.
On Monday, May 19, 2014 12:57:40 PM UTC+4:30, Reza Ardestani wrote:
Hi,
I have
20 matches
Mail list logo