Displaying 20 results from an estimated 8000 matches similar to: "creating a development db from existing db"
2006 Aug 10
2
problem - please help
Hi there,
I''m following the ''Agile Web Development with rails'' book and have got
to page 89 - and hit a problem.
I entered into the command line:
ruby script/generate controller store index
The book says you should see something when you point to:
http://localhost:3000/store
but all I get is:
Routing Error
no route found to match "/store/index" with
2006 Aug 07
12
web app or ''real'' app
Hi there,
Is a web app always preferable to a ''real'' app?
- or are there times when a real app should be used?
I''m starting a new app and can''t decide which would be best.
Is Ruby (not RoR) suitable for a real app?
Chris.
--
Posted via http://www.ruby-forum.com/.
2010 Nov 15
1
Version 2.12.0 exe file
I have R version 2.9.1 on my computer and the anlaysis is not working
because I need to update to R version 2.12.0 the latest release.
The person incharge of IT tried to download R version 2.12.0 but .exe file referenced in install isn't
there - What might we be doing wrong? We have downloaded as tar.gz,
uncompress then look for .exe file but not present.
Many thanks,
Morris
2006 Mar 30
3
Export Fixtures Plugin
= Description
This plugin is a super lightweight tool used to export data into the
test/fixtures directory.
So if you want to export all your data from your production server into your
development environment, this will simplify the process without having to
load up your database manager.
[%] rake db:fixtures:export_all RAILS_ENV=development
[%] rake db:fixtures:load
= INSTALLATION
2006 Aug 05
10
Converting mysql to postgres
Hi,
Anyone got any cool tricks for converting a Rails site (in this case,
a typo installation) from a mysql database to a postgresql database?
I''ve got it almost working -- I''m doing a SQL dump from mysql and
loading it into postgres. However, mysql does booleans as a tinyint
with 0 = false and 1 = true. When I try to import that into a
postgres database that expects booleans
2006 Aug 09
1
pre-loading sql for testing mode
Hi list,
Instead of using fixture for my test (because I have to many tables, and
it is easier to use my interface to create the data), I prefer to import
all the data from an sql file for each scenario I have ...
how I can do this with rails ?
thanks for help
arnaud
2006 Jul 24
3
Creating performance test fixtures from development db? How?
Hi all!
I''m looking into the testing chapter of Agile Web Development With Rails
(2nd ed.).
I want to performance test my app, but I''m too lazy to write fixtures for
performance test.
I''d rather use the data from my development db (because the data is so close
to the production data).
How do I get the data into the test db without writing fixtures?
Could you please
2006 Oct 26
3
Dual Opteron or Dual Xeon?
I am about to lease another server to be a backup web/mail server with a
replicated mysql database. The current live server is a dual Xeon
2.8Ghz. Would I do better to get another Xeon server or an Opteron
based server? My concerns are compatibility of the database and the SSL
certificate currently running on the Xeon machine. Are these concerns
unfounded?
TIA
Mike
2007 Jan 12
2
After upgrade to 0.7.5, specs are now using the development, not the test DB
Hi,
After I upgraded RSpec from 0.7.4 to 0.7.5, first the gem, then the
Rails plugin, I noticed that when I ran my spec/models, the fixtures
were overwriting the data in the development environment DB, not the
test one. The test environment was being used prior to the upgrade.
I am using SQLite3 and an in-memory db for the test environment.
Any help would be appreciated.
Thanks
Ed
--
Ed
2008 Apr 13
2
Cross compiling from Linux to Win32
Hi all,
I have just commited a couple of small fixes [0] to allow libogg to
be compiled using the MinGW cross compile tools on Linux to
generate Win32 binaries (include a DLL) and run the tests under
Wine (the windows emulator).
On Ubuntu (or Debian) do you will need to install the following:
apt-get mingw32 mingw32-binutils mingw32-runtime wine
To configure and build do:
./configure
2023 Dec 31
1
custom built R will not change BLAS/LAPACK with update-alternatives
On 30 December 2023 at 23:49, Ramon Diaz-Uriarte wrote:
| All is good. (Just for the sake of curiosity, and if you have the time: why did you find those incantations suspicious?)
Memory is fuzzy and no ECC in my wetware :) but as I seem to recall it had
to do with my fears over filenames not being standardized enough / this
interfering with the update-alternatives mechanism. May well have been
2018 Aug 24
5
True length - length(unclass(x)) - without having to call unclass()?
Is there a low-level function that returns the length of an object 'x'
- the length that for instance .subset(x) and .subset2(x) see? An
obvious candidate would be to use:
.length <- function(x) length(unclass(x))
However, I'm concerned that calling unclass(x) may trigger an
expensive copy internally in some cases. Is that concern unfounded?
Thxs,
Henrik
2006 Apr 13
8
DevTower Beta3 Release!
DevTower Beta3! (0.3)
I''m proud to announce some major changes and improvements to DevTower in
this beta release! First and foremost, DevTower is now a full plugin. Also,
DevTower works (only) with Rails 1.1.
==== ABOUT =====
DevTower used to synchronize the development of Ruby On
Rails applications with developers working simultaniously
on multiple systems with Subversion. DevTower
2007 May 21
2
Rails'' fixtures suck! But what about something like this?
Sorry about the very long email, but this is a hairy topic that''s been
annoying me for some time and I decided to try to do something about.
Also, if you got this twice, I apologize too, but it didn''t seem to
have successfully gone out the first time.
Background:
----------
I''ve been dealing with Rails for about a year and a half now. I''ve
been using
2018 Sep 03
2
True length - length(unclass(x)) - without having to call unclass()?
Please don't do this to get the underlying vector length (or to achieve
anything else). Setting/deleting attributes of an R object without
checking the reference count violates R semantics, which in turn can
have unpredictable results on R programs (essentially undebuggable
segfaults now or more likely later when new optimizations or features
are added to the language). Setting attributes
2007 Jan 19
1
Traffic shaping with Powerboost
For those of you in the US using Comcast as your ISP, you''ll know that
they now have a feature called Powerboost available in the regions they
serve. Basically, it allows people to have higher-than-rated throughput
for the first few minutes of data transfer. After those few minutes,
they''re supposed to throttle back down to what their rated line speed
is.
I''m having
2020 Jul 22
3
New x86-64 micro-architecture levels
* Dongsheng Song:
> I fully agree these names (100/101, A/B/C/D) are not very intuitive, I
> recommend using isa tags by year (e.g. x64_2010, x64_2014) like the
> python's platform tags (e.g. manylinux2010, manylinux2014).
I started out with a year number, but that was before the was Level A.
Too many new CPUs only fall under level A unfortunately because they do
not even have AVX.
2007 Jan 12
5
File Lock Timeout
Hi,
I've seen posts (but no answers) about clearing a file lock on a Samba share. Presumably this kind of thing happens when the program abnormally terminates and doesn't close its open files.
I've got a file that smbstatus reports as:
1216 DENY_WRITE 0x20089 RDONLY NONE /shares/share1/Files/december.xls Fri Jan 12 12:51:30 2007
Trying to open this in Excel
2015 Dec 29
2
[HCL] NHS Laser Senoidal 5000VA supported by gamatronic
Device Manufacturer: NHS
Device Name: Laser Senoidal 5000VA
upsc output when the UPS is in normal condition:
battery.charge: 100
battery.current: 0.4
battery.date: 12292015
battery.runtime: 00000
battery.runtime.low: 59940
battery.temperature: 00
battery.voltage: 163.4
device.mfr: NHS Sistemas de Energia
device.model: Laser Senoidal 5000VA
device.type: ups
driver.name: gamatronic
2006 Nov 29
2
random binary trees in R
Hello!
I wish to generate random binary trees in R.
Unfortunately recursive code like:
t <- function(p)
{
list(ifelse(runif(1)<p,t(p),0), ifelse(runif(1)<p,t(p),0))
}
does not seem to work. Has anyone ever
performed such a simulation? I would like
to see their code. Maybe this is not feasible
in R. Please e-mail me at the below address
(since I am not yet a subscriber to this