Displaying 14 results from an estimated 14 matches similar to: "Problem on rack_setup"
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
2005 Dec 25
0
Setter not being called
I have written the followign setter to raise an exception when the field
disabled_on is beeing assigned a value minor or equal that the enabled_on
field.
class Survey < ActiveRecord::Base
def disabled_on=(date)
raise AssignmentException if date != nil and date <= self.enabled_on
write_attribute(:disabled_on, date)
end
end
The matter is that this method never gets called, as I
2006 Nov 28
4
Update/Create record only if field is true
I have a sellable flag in my database. I''m trying to have ferret only
add/update records where sellable == true. What is the best way to do
this? I''ve tried editing instance_methods.rb in the AAF, but I still
can''t get it to work.
Thanks for the help
--
Posted via http://www.ruby-forum.com/.
2017 Oct 25
2
not healing one file
Hi Gluster Gurus,
I'm using a gluster volume as home for our users. The volume is
replica 3, running on CentOS 7, gluster version 3.10
(3.10.6-1.el7.x86_64). Clients are running Fedora 26 and also
gluster 3.10 (3.10.6-3.fc26.x86_64).
During the data backup I got an I/O error on one file. Manually
checking for this file on a client confirms this:
ls -l
2017 Oct 26
0
not healing one file
Hi Richard,
Thanks for the informations. As you said there is gfid mismatch for the
file.
On brick-1 & brick-2 the gfids are same & on brick-3 the gfid is different.
This is not considered as split-brain because we have two good copies here.
Gluster 3.10 does not have a method to resolve this situation other than the
manual intervention [1]. Basically what you need to do is remove the
2017 Oct 26
0
not healing one file
Thanks for this report. This week many of the developers are at Gluster
Summit in Prague, will be checking this and respond next week. Hope that's
fine.
Thanks,
Amar
On 25-Oct-2017 3:07 PM, "Richard Neuboeck" <hawk at tbi.univie.ac.at> wrote:
> Hi Gluster Gurus,
>
> I'm using a gluster volume as home for our users. The volume is
> replica 3, running on
2012 Jun 04
1
How to save the user_id in a separate column when using ActiveRecord::SessionStore?
Hi!
I''m converting my Rails 3.1 app from cookie sessions to database
sessions.
I''ve added an extra column on the sessions table to save the user_id.
I read the documentation in
http://apidock.com/rails/v3.1.0/ActiveRecord/SessionStore and googled
but can''t seem to find a way to set the session''s user_id that works.
Can someone help?
Thanks
--
Posted via
2009 Apr 20
11
manual access to session data outside of request?
So, given a sessionID, I have need to read and write the session stored
information ''manually'', from _outside_ an actual Rails
request/controller.
Readers, I know your first response may be to tell me I don''t really
want to do that. Trust me though, I really do, it makes sense for me in
my case.
I know this wouldn''t work if you''re using the new cookie
2007 May 03
2
Video Strangeness in Wine
I have 2 programs installed in wine - watchtower library and firefox,
and have done nothing except update my fedora 5 (yum update)
Now firefox gives a black screen - entirely black. The wt library did as
well, but restarting X fixed that. Not so firefox. I can have another
program open on another screen, so wine is not crashing. I moved another
small gnome window onto the same screen, and video
2012 Feb 19
0
Session id unavailable if assets pipeline enabled in Rails 3.2.1
I have a Rails 2.3.2 application I am upgrading to Rails 3.2.1. I am
using ActiveRecord::SessionStore connected to an Oracle database using
the oracle_enhanced_adapter.
On my first attempt (creating a new, default Rails 3 application
copying in the application code, and fiddling with routes etc) I found
that most things could be made to work, but that:
request.session_options[:id] returns
2017 Oct 26
2
not healing one file
Hi Karthik,
thanks for taking a look at this. I'm not working with gluster long
enough to make heads or tails out of the logs. The logs are attached to
this mail and here is the other information:
# gluster volume info home
Volume Name: home
Type: Replicate
Volume ID: fe6218ae-f46b-42b3-a467-5fc6a36ad48a
Status: Started
Snapshot Count: 1
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker:
First I make a simple app:
rails foo -d mysql
cd foo
script/plugin install git://github.com/mmangino/facebooker.git
Then I go to config/environment.rb and change the rails version to
''2.2.2'' Then I run the console:
script/console
and I get:
[17:56][herdrick:~/rails/foo]$ script/console
2017 Oct 26
3
not healing one file
On a side note, try recently released health report tool, and see if it
does diagnose any issues in setup. Currently you may have to run it in all
the three machines.
On 26-Oct-2017 6:50 AM, "Amar Tumballi" <atumball at redhat.com> wrote:
> Thanks for this report. This week many of the developers are at Gluster
> Summit in Prague, will be checking this and respond next
2017 Oct 26
0
not healing one file
Hey Richard,
Could you share the following informations please?
1. gluster volume info <volname>
2. getfattr output of that file from all the bricks
getfattr -d -e hex -m . <brickpath/filepath>
3. glustershd & glfsheal logs
Regards,
Karthik
On Thu, Oct 26, 2017 at 10:21 AM, Amar Tumballi <atumball at redhat.com> wrote:
> On a side note, try recently released health