similar to: Error of DEPRECATION WARNING

Displaying 20 results from an estimated 200 matches similar to: "Error of DEPRECATION WARNING"

2011 Jul 11
36
has_many and belongs_to association
Hi , I want to test the one below but I got the problem belongs_to :name, :class_name => "Phrase", :foreign_key => "name" in my test context "test"do should have_many :phrases end in language.rb belongs_to :name, :class_name => "Phrase", :foreign_key => "name" error is 1) Failure: test: check has_many and belongs_to
2011 Jul 05
7
error of "rake test" command
Hi, I have an error when i use rake test, plz help akyen@ubuntu:~/Desktop/p$ rake test WARNING: Global access to Rake DSL methods is deprecated. Please include ... Rake::DSL into classes and modules which use the Rake DSL methods. WARNING: DSL method Pictographs::Application#task called at /usr/local/ lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/application.rb: 215:in
2010 Aug 11
6
rspec2 not working with shoulda
I am using rails edge. I am using gem "rspec-rails", "= 2.0.0.beta. 19" . I have following code at spec/models/user_spec.rb require ''spec_helper'' describe User do it { should validate_presence_of(:email) } it { should validate_presence_of(:name) } end Here is my gemfile group :development, :test do gem ''factory_girl_rails'',
2011 Jul 05
4
Problem of "rake spec"
Hi all, I am a bit confused when i type rake spec and it gives me this message, No examples matching ./spec/**/*_spec.rb could be found what is that mean that something is not found. and where i can input my the test code because i did have a tiny sample code in user_controller_test.rb. is that the right place to test functional.. plz give me a help thanks -- You received this message
2007 Aug 21
5
two providers
Hi to all i think this is not a new problem for this forum....but its newest for me as i m a new linux lerner. Even if it is new plzz....reply me ur answer..n if its already asked n have solution..plzz forward the solution. My problem is here mentioned: I have fedora core 4 as a linux server. there r two external links connected to this. the settings are as: eth0 ->for internal (that is
2011 Mar 01
11
Did rails or shoulda go insane on the inflection of 'taxes'?
I have a model ''xp_jurisdiction_taxes'' which rails (3) created correctly. Another model ''xp_jurisdiction_states'' has many :xp_jurisdiction_taxes. In my spec I am using a shoulda helper to test the association but get the following error. BTW, greped the whole project just in case and the string ''taxi'' exists nowhere. 1)
2011 May 11
6
How can i Install wine in SLED 11.. plzz help
I'm new in installing wine in Sled 11.. So plzz could any one give me hint how to start this. I'm Studying the Linux life so that i could migrate from windows to linux.
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
2005 Oct 13
2
what should i select ??????????
hy all actually i want to have a setup of five offices having round about 200 extensions ( each office having 35 to 45 ) which will be connected through asterisk. now either i should go for voip phones( hard phones ). or use any interface card to asterisk server to which the analogue phones will be connected. ----- if i use analogue phones in the above case ( we have analogue phones already )
2004 Nov 28
1
hi
Dear All, Hii, I am student working on a project called Network Radio modelled on the icecast project. Could u plz give me the design of Icecast project>>so that i can model my project accordingly viz by threads or sockets?? Plzz help me. Also could u telll me where i can get the source code for icecast in c++ or java. Thanks, Chetan Yahoo! India Matrimony: Find your life
2011 May 06
2
Rails 3.1(beta1) + SASS + variables
Hello all, in Rails 3.1, is it possible to define global SASS variables (and mixins) that are shared across all *.css.scss files? I am able to define SASS variables, yet they seemed to be scoped only within each individual file … On a side note -- is there a way to pass variables from my Rails app to the SASS + JS (or CoffeeScript) files? Thanks for your help. Best, Tomas -- You received
2008 Apr 07
1
re garding Garch prediction mechanism
Hi, I am having some confusion.It has been said that we can only estimate the future values using meanForecast +/- 2*standardDeviation. with 95% confidence.This means using this garch model we can only have a upper and lower limit of the values within which the next actual value is expected to lie.Then how come in research papers they plot the actual and predicted value so neatly.The simple
2003 Apr 01
2
Setting up PABX
Hi guyz I m very much new to Asterisk and i want to establish a PABX for my house at the moment i have X100 card(Configured) Asterisk PABX(Installed) Now i want to know how would i recieve call for e.g. i want during incoming call (after demo mess). if user press 9 (for e.g) the call redirect to host1(for e.g. again).or if ne user of gnophone want to dial outside how would he do so . N e sort
2011 Sep 14
1
rspec and should have_many through
Hi, Anyone can help me with rspec shoulda validations please. I can''t get the syntax right for these validations. Please correct me it { should have_one :tradable, :through => :trade_order} it { should belong_to :source, :polymorphic => true } it { should have_many :transfers, :as => :source } this is for Rspec 2, rails 3.1, gem "rspec-rails" gem
2011 Jun 28
1
error from command rake test:units
I got some error when i run the command line rake test:units 14) Error: test_the_truth(UserTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: cultures: DELETE FROM "cultures" WHERE 1=1 I did delete the model culture from my project.. and i change it it as other name. could anyone help to to solve this problem. thanks -- You received this message because
2012 Mar 13
4
minitest validations - is there a cleaner way?
i am trying out minitest, but need some advice on a clean way to test validations. I setup my testing to use minitest by following the following railscast plus i added miniskirt for Factories. http://railscasts.com/episodes/327-minitest-with-rails everything works well, but there has to be a cleaner way of testing failed validations. would i be better off using something besides
2012 Jan 27
3
How to test the model dependence ?
Good morning, I''m new to rails and am having some basic questions in development. See if anyone can help me with a test problem. I need to test if my model "Procedure" is linked to the workflow. If not, the system must acknowledge an error. Below is the code that is in the file test \ unit \ procedure_test.rb. require ''test_helper'' class ProcedureTest <
2007 May 05
4
autogenerated it (was ''Custom Matcher and NAME NOT GENERATED annoyance'')
> On 5/5/07, Luis Lavena <luislavena at gmail.com> wrote: > > describe "A User (in general)" do > > before(:each) do > > @user = User.new > > end > > > > it { @user.should have_many(:contest_public_votes) } > > it { @user.should have_many(:design_industry_user_interests) } > > it { @user.should
2007 Aug 05
0
plzz help..me
plz....read out the attachment....my prob is attached... --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it''s updated for today''s economy) at Yahoo! Games. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2011 May 17
0
Help Plzz
I'm not having success with the new update patch warcraft III Frozen Throne when I run it with Wine it sends a message "Fail to open output" and the 10 mb patch that fais The communication with the EUROBATTLE ... hope you help me