Displaying 20 results from an estimated 900 matches similar to: "Creating a DB in the schema import process"
2006 Jan 11
1
Multiple apps on server conflicting
We have a situation where one app on the server seems to be affecting
another. So, we start the first app on port 3000 and run it and all is
well. We start the second app on port 3006 and it fails (blank screen).
We then have to blow away the temp files and try again. If we start the
3006 one it will work and then start 3000 and it fails. So, in essence
the first one wins. Any thoughts? We are in
2005 Dec 21
1
Active Search
Issue:
I am trying to get a good quality search capability across our site. I
ran across ActiveSearch
(http://julik.textdriven.com/svn/tools/rails_plugins/simple_search/)
which seems to be a better solution for us than SimpleSearch (and
SearchGenerator) as it is more than just word based. However, I am
unable to get the project built and being fairly new to Ruby / Rails I''m
a little
2005 Dec 29
5
Model Composition in Rails
I''m struggling understanding the model view of a combined model. Take
the following:
class P4 < ActiveRecord::Base
has_many :p4_priorities
end
I figured out the naming and referencing of the sub models (i.e.
P4.p4_priorities - seems simple enough but I had weird issues related to
it). I''m all ok except that I am having issues with how to reference a
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not
need displayed. This worked great as soon as I click on the item that
initiates the hide, but within one second it pops back up. My assumption
is WEBrick is refreshing to a previous state and I wondered what y''all
thought was the appropriate way to handle. I thought maybe the default
environment in production would
2006 Jan 10
1
Frames
Well, I know there''s a better way (not using frames) but bear with me
while we get rev 1 out the door and then switch. In the meantime I need
to redirect from one frame into another and cannot for the life of me
figure out a reference to get to another frame:
redirect_to :controller => testController'', :action => testProc''
I cannot seem to add :target or
2005 Dec 21
0
subscribe
_______________________
Brad Eck
Sr. Software Engineer
Pelco
3500 Pelco Way
Clovis, CA 93612
Office - 800-289-9100
Email - beck@pelco.com <BLOCKED::mailto:beck@pelco.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051221/107d6e92/attachment.html
2007 Jan 26
1
rake test:x recreates tables in MySQL with server (not database) charset and collation
Any thoughts on how to avoid this problem? Already tried:
1. Setting the charset and collation in migration 001 - no effect:
def self.up
db_name = ActiveRecord::Base::connection.current_database()
execute "ALTER DATABASE #{db_name} CHARACTER SET utf8 COLLATE
utf8_bin"
end
2. Setting the charset and collation on each table individually - no
effect:
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
If you use ActiveRecord::Base.connection.create_database you''ll notice
that by default the created db will use latin1 encoding. I created a
plugin to handle different charset and collations (on top of helping
you with other boring DB tasks).
You can check out the early version of the plugin
svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks
(I really need to move my projects out
2006 Apr 26
2
migrations and database creation
Is there a way to pass the database name in config/database.yml to a
migration task such that the appropriate (test, development or
production) DB is created by the initial migration?
What I would like to do is to get this sort of thing to work:
class RbacDataStructures < ActiveRecord::Migration
def self.up
create_database <<dbname from database.yml>>
class
2005 Nov 02
3
Xen driver domain...character device?
Greetings,
Does anyone know if it is possible to give a guest domain access to character
device hardware such as a SCSI tape drive (/dev/st0 | /dev/nst0)? I have
recompiled the guest xenU kernel with hardware access and declared the pci SCSI
card in the config file directive as follows:
pci = [ ''4,3,0'' ]
The log file when started reports:
[2005-11-01 17:24:57 xend] DEBUG
2010 Jul 23
2
re-ordering bwplot
Dear list:
I'm using bwplot to compare concentrations by location and treatment as in:
# using built in data
bwplot( conc ~ Type : Treatment, data = CO2 )
I would like the order of the plots to be: 3,4,1,2. I can't seem to figure this out with index.cond or permc.cond.
Any help is appreciated!
Brad Eck
[[alternative HTML version deleted]]
2005 Mar 10
7
upgrade question
Hi,
I''ve upgraded my shorewall version from 2.0 to 2.2.1 using the .tgz
I followed the instructions for upgrade
and got a warning when running shorewall check
on /usr/share/shorewall/action.DROP and action.Reject using "dropNonSyn"
while that has changed to DropNotSyn .
I manually copied over action.DROP from the source tree.
Question: Are there more files to check ? Even
2017 May 10
3
Kcc connection
Hello Christian,
Can you post me the message you got from the samba-check-db-repl.sh,
Then i'll add something for it.
And can you tell with version nummer of the script your using.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Christian Naumer via samba
> Verzonden: woensdag 10 mei 2017 9:30
> Aan:
2019 May 20
4
Upgrade from 4.9.8 to 4.10.3 on Centos using Sernet Packages
In addition to Rowland comment.
if you still able to test it. Remove 1 setting at a time, restart and test it.
Start with these, in this order.
logging = syslog only
prefork children = 8
I think if the logging line is removed your problem is solved.
man smb.conf /logging should explain more.
Because I cant/find the setting : logging = syslog only
Greetz,
Louis
2010 Jun 28
3
rake db:create failing
Hi everyone,
First of all, I''m running Mac OS X Snow Leopard.
Trying to set up a new SQLite database, but when I run rake db:create,
I get the following huge message:
unable to open database file
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
sqlite3_adapter.rb:13:in `initialize''
2019 May 20
2
Upgrade from 4.9.8 to 4.10.3 on Centos using Sernet Packages
Hello Cristian,
Well, nothing to say about your steps, these looks good.
And lmdb could be disable in the sernet packages, cant say, i dont know.
And only one DC has these problems or all? If only one DC crashed.
Which DC crashes. Last added? Oldest?
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Christian
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all...
Please help me solve the issue.
While trying to create a connection with MS SQL database in RubyOnRails,
I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net
for the same.)
System details: OS: Windows Xp
Ruby version: 1.8.6
Rails: 2.1.2
Gems: 1.3.1
RadRails: 0.7.2
2006 Feb 07
0
Creating DB from within Rails
Hi,
Is it possible to create a new database (I know how to establish a
secondary connection) from within rails, using ActiveRecord::Schema?
There''s a create_database method under
ActiveRecord::ConnectionAdapters::SQLServerAdapter but I don''t see
similar methods for the other adapters.
Thanks,
Mike
2019 Apr 15
3
resolv.conf
Hello you all,
this is a bit OT but I think I'll find some people here that can help.
We have 4 DCs all on the same site. This is working fine. 3 Are VMs one
is a physical server. They are the only DNS servers in that network. On
a member server running our icinga2 installation I have this in the
resolv.conf:
options rotate timeout:2 retries:1
search example.com
nameserver x.x.x.x (ip dc1)
2010 Sep 06
2
Help with unexpected symbol errors
Hi
I have got a long script which will not run for me as i keep getting errors :
> source("clusterfixV1_4.r")
Error in source("clusterfixV1_4.r") :
clusterfixV1_4.r: unexpected symbol at
158: eck[k,2] <- as.numeric(1)
159: #ClusterInfo[k,2] <- "Clustered
I have sorted all the ones i can but i am having a problem here
Can anyone tell me the