Displaying 20 results from an estimated 40000 matches similar to: "Oracle support for rake db:reset"
2007 Apr 17
3
using rake db:fixtures:load with rspec fixtures
Hi, I''m new to rspec. I have some fixtures in /spec/fixtures. If they
were in /test/fixtures they could be loaded with rake db:fixtures:load.
Is there any way other than a symlink to load my rspec fixtures into
the database with rake? Or, can I cause rspec to load the fixtures
from /test/fixtures?
Thanks,
Paul
2007 Nov 13
7
rails story runner returning a nil response code
Has anyone noticed any problems with the Rails story runner returning
a response code of "0" when doing get/post/etc methods? I just
grabbed the latest rails/rspec and just started noticing this problem,
http://pastie.caboo.se/117497
Regular controller specs pass as expected.
--
Josh Knowles
phone: 509-979-1593
email: joshknowles at gmail.com
web: http://joshknowles.com
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.
http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html
That''s a great news.
Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.
Add the following into your ~/.autotest file
2007 Dec 09
2
rake db:redo & rake migrations:reset - or how to cope with the change of db:reset
As many of you know, rake db:reset changed behavior just before Rails
2.0 got released.
db:reset used to drop the database, re create it and migrate it up.
The core team after integrating this feature, realized that it was not
used as intended and instead db:create now uses the schema.rb file
instead of the migrations.
Check the many discussions we had about this topic, you will quickly
notice
2007 Jun 18
0
Phoenix Rails Users Group
What: June Phoenix Rails Users Group
When: Tuesday, June 19th, 6:30 pm - 9pm
Where: Office of Integrum Technologies
290 East El Prado Court,
Chandler, AZ
(north-east of Arizona and Warner)
Topic: Overview of alternative Ruby web frameworks
----
Please join us Tuesday evening at 6:30 pm for the Phoenix Rails Users
Group. This month Josh Knowles and Jade
2007 Apr 13
0
ZenTest 3.5 & RSpec 0.9
The latest release of Autotest, bundled in ZenTest 3.5, now has support for
running specs! No longer do we need to use the rspec_autotest plugin, now
it-just-works. The only problem is that the script is assuming you have the
rspec gem installed. If you''re keeping up with Edge RSpec on your Rails
project you''ve probably just included rspec and rspec_on_rails into your
2013 Feb 01
0
rake db:migrate failing against oracle
Hello All --
I am using jruby 1.6.7.2 with rails 3.2.11 to create a brown bag for
several other developers. I cannot get the migration to work to save my
life...
In my database yaml file I have the following:
---
development:
adapter: jdbc
driver: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@localhost:1521:xe
username: brownbag
password: brownbag
pool: 500
---
When I run:
2006 Dec 04
1
Mailing List Modification Request
Ezra,
Is there a setting that can be changed to have the merb mailing list set the
from address as the users from as opposed to merb-devel at rubyforge.org?
Thanks!
Josh
--
Josh Knowles
joshknowles at gmail.com
http://joshknowles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jan 16
2
rspec_on_rails_matchers
All,
Sorry for spamming this list about this but I think everyone who could
help me with this problem is on this list... If there is a better place
to post this question let me know.
Anyways, I am trying to use rspec_on_rails_matchers in my rails app to
improve my view specs but I can''t get them to work. The helpers for the
form tags never seem to be called.
I created a new Rails
2007 Apr 13
3
rspec on rails won''t install
Hi:
This command:
svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail
Gives me this output:
svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails''
doesn''t exist
If I go the ''script/plugin install'' route, I get "Export complete."
Anybody know
2007 Nov 26
8
Renaming RailsExample to RailsExampleGroup
Fyi, I made the following renames:
* RailsExample -> RailsExampleGroup
* FunctionalExample -> FunctionalExampleGroup
* ControllerExample -> ControllerExampleGroup
* ViewExample -> ViewExampleGroup
* HelperExample -> HelperExampleGroup
* ModelExample -> ModelExampleGroup
This was done to keep the naming consistent with ExampleGroup.
2013 Feb 28
0
Rake tasks db:test:prepare cannot be executed in the same task of db:reset or db:migrate
Hey all,
I''m trying to create a task that prepare the environment to start
programming.
To do so, I created a task like this *task :setup_env => [''db:reset'',
''db:migrate'', ''db:test:prepare'']* and observed that after execute *
rake setup_env*, it never execute db:test:prepare properly. In order to get
the schema cloned to test db,
2006 Nov 24
0
PostgreSQL search_path and db:structure:dump rake task
Hello!
I''ve submitted a patch to work around a problem when multiple schemas
are included in the search_path in database.yml for PostgreSQL
databases. (Long story short: the pg_dump --schema flag only accepts
a single schema.)
http://dev.rubyonrails.org/ticket/6665
While I''ve tested the regex pattern used to check for multiple
schemas, I''m unsure of how to
2008 Jan 10
21
Shoulda
Hey, we''re currently using shoulda (http://dev.thoughtbot.com/
shoulda/) on a project and I saw some things that would be really nice
to see in rspec, namely the should_ methods, and especially the
should_be_restful method. Do these go against the rspec goals at
all? Or could an ambitious programmer go to town implementing these
for rspec_on_rails?
Nathan Sutton
fowlduck at
2007 Mar 29
21
a better "should have valid associations"
This is pretty much the same as last time around, if you recall.
Thanks to Wilson for converting to the new form. I''ve added a few
lines. Basically, it iterates over your model associations and does
two things.
- First, just try to call the association. Usually fixes speeling
erors or other such silliness.
- Second, try to find a record with an :include on the association.
This
2007 Jan 11
12
Rails not properly handling Oracle db connections/sesions in dev mode
We are running edge rails with oracle. After a few hundred requests
all available sesions are used up. It seems prior connections are
being left open. When this happens no one using the installation of
Oracle can create a new session until you kill your mongrel/webrick
server.
Patch #6928 addresses this problem, and i applied it to my vendor rails
and it worked.
I think, if possible, this
2006 Oct 16
6
Rails AR/Oracle Unit Test: [5310] failed (but getting better)
"rick" has given AR/Oracle some love, but it''s still unhappy...
http://dev.rubyonrails.org/changeset/5310
------------------------------------------------------------------------
r5310 | rick | 2006-10-16 08:42:55 -0700 (Mon, 16 Oct 2006) | 1 line
Fix has_many :through to add the appropriate conditions when going through an association using STI. Closes #5783. [Jonathan Viney]
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Nov 22
1
Metaplot Axis Annotation
Hello,
We are looking to adjust the font size of the axis annotation on the graph
that results from use of the metaplot() function. Metaplot seems to respond
to cex and cex.lab to change those graphical parameters, but it doesn't
respond to cex.axis. Is there a way to work around this by creating a
customized x-axis, and if so, how?
Thanks for all your help. Syntax is below.
Best,
Dawn