similar to: Model isn''t in the scope when running script/console

Displaying 20 results from an estimated 50000 matches similar to: "Model isn''t in the scope when running script/console"

2006 Jun 11
2
Javascript include in html - load times
Hi, If I include a javascript library, will it load when the html load, or just at the first use? I have table.js and I have few pages that needs it. Should I include it just on the pages that needs it, or put it on the application_layout? Thanks, Kfir
2006 Jun 13
2
Bug tracking plugin for ROR?
Hi, Is there a plugin for ROR for bug tracking. I need it for lite use. I thoght using typo or something, but still want to know if there is something. Thanks, Kfir
2006 Apr 10
1
rake throws a lot of warnings
Hi, Running ''rake'' or ''rake ...'' will throw warnings and then will do the tasks. I have attached the output of rake stats 2> /tmp/rake.error.txt I''m running Gentoo with: * dev-lang/ruby Latest version available: 1.8.4-r1 Latest version installed: 1.8.4-r1 Size of downloaded files: 4,417 kB Homepage:
2006 Mar 14
2
Where i can download docs for offline reference?
I have seen the testing doc or the FAQ on ROR site, but is there a zip file for it?
2006 Jun 01
1
link_to_remote show then hide
Hi, I have a link_to_remote and it update a div. After the first click the div is opened with the information. Now I want to be able to close hide the div . How should I do it. Someone at the IRC told me to use toggle. But what I want is a bit odd. I want that it will not do again link_to_remote but toggle. Tnx Kfir
2006 May 27
29
deploying R_o_R to local servers
Hi! I''m pretty amazed by the features of RoR so far. But, as I come from the desktop application development, my clients expect to run the magic on their domain rather on a foreign one. Also I feel uncomfortable giving away my RoR code to some hosting company, because I''m planning to do a large application. As I understand, RoR is designed to run on central web-servers and not
2006 Jun 02
4
RoR on Apache not working
Hi I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but I''m not an internet/pc/apache/developement newbie so I expected this to go much easier :) Ok, here it goes. I''ve been trying to get RoR working with apache both on a RH server and after i didn;t managed there I tried on my machine, an windows XP/Apache2 machine. I don''t like
2006 Oct 25
2
Isn''t it possible to stub / expect on :id ?
Hi all ! Running this: @payout = stub_everything(:id => 141) Payout.stubs(:find).with(@payout.id).returns(@payout) Generates this warning: ./test/functional/payouts_controller_test.rb:22: warning: Object#id will be deprecated; use Object#object_id What am I missing ? :id is a fairly frequent method to override in Rails-based applications. I''m using Mocha from
2006 Apr 05
0
Environment don''t load in the console
Hi, When i run script/console i don''t have access to the models objects. I did have this working when i installed it, but now it don''t work. I tried to create a new dummy rails project but still no models objects. I''m running Gentoo stable. Tnx Kfir BTW, When i run rake i get a lot of warnings, but in the end it do the job.
2009 Jun 28
1
TI Davinci DM Serias
Hi, I am attempting to port the speex library to TI Davinci DM35x Family. My questions are: 1. What is the best ./configure option for it? Is it ARM5e / ARM4 ? when I tried these two the during the compiled a warning "I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions?" 2. is there any available demos for the echo cancellation because I can get it
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2007 Oct 01
1
strange problem on SXDE3
Strange problem on a desktop, 64 bit, SXDE3. ] ./jpg1.d dtrace: failed to compile script ./jpg1.d: "/usr/lib/dtrace/iscsi.d", line 94: syntax error near "uiscsiproto_t" Doesn''t matter what script. Even classic oneliners such as: ] dtrace -n ''syscall::open*:entry { printf("%s % s",execname,copyinstr(arg0)); }'' bomb in this way... dtrace:
2008 Jan 22
2
Help - linear regression
Hi, I am trying a linear regression model where the dependent variable is the size of the heart corrected for the patient's height and weight. This is labelled as LAVI. The independent variables are race (european or non-eurpoean), age, sex (male or female) of the patient and whether they have diabetes and high blood pressure. sample size 2000 patients selected from a community. when I
2011 Jun 08
2
[Gluster3.2@Grid5000] 128 nodes failure and rr scheduler question
Hello, I'm driving some experiments on grid'5000 with GlusterFS 3.2 and, as a first point, i've been unable to start a volume featuring 128bricks (64 ok) Then, due to the round-robin scheduler, as the number of nodes increase (every node is also a brick), the performance of an application on an individual node decrease! So my question is : how to STOP the round-robin distribution
2006 Feb 28
0
Help: Script isn''t sending any email
Hi, I followed the directions to a ''T'' from the following website: http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer However, the script is dying because it says that the <%= first_name %> value in my notifier view is nil. here is my code: Controller code (abridged): def signup userid = @session[:user].id @user = User.find(userid) @bill =
2006 May 08
2
Creating a "Foo has_many bars" association where bar isn''t a model.
Hi Let''s say we have model Foo. Each Foo instance can have several bars. Those bars are primitive, so they shouldn''t be models. For example, Foo might be a type of convention, and the bars might be years the convention was held in. Naively, we would have a conventions_years date, and put: has_many :years inside class Convention. But then we''d get an error, since for
2006 Aug 14
3
Making R script to run in a console
Hi, is possible to make a R script to run under a console without open the R environment? Something like this example.R #!/usr/bin/R function(name="Put here your name") { print(name) } In a console I make ./example.R name="Ronaldo Reis J?nior" then program print my name. It is possible? Thanks Ronaldo -- A jury consists of twelve persons chosen to decide who has the
2006 Sep 21
1
Dtrace script compilation error.
Hi All, One of the customer is seeing the following error messages. He is using a S10U1 system with all latest patches. Dtrace script is attached. I am not seeing these error messages on S10U2 system. What could be the problem? Thanks, Gangadhar. ------------------------------------------------------------------------ rroberto at njengsunu60-2:~$ dtrace -AFs /lib/svc/share/kcfd.d dtrace:
2006 Jun 19
2
Nested variance-covariance matrix in Multilevel model
Dear R community, I have trouble implementing a nested variance-covariance matrix in the lme function. The model has two fixed effects called End and logpgc, the response variable is the logarithm to base 2 of Intensity ( log2(Intensity) ) and the random effects are called Probe and ProbeNo. The model has the following nesting structure: A Pixel is nested within the ProbeNo,the ProbeNo is
2020 Jul 14
2
Re: SELinux labels change in libvirt
On Tue, Jul 14, 2020 at 3:33 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > On Tue, Jul 14, 2020 at 03:21:17PM +0300, Ram Lavi wrote: > > Hello all, > > > > tl;dr, can you point me to the point in the libvirt repo where it's > trying > > to change a tap-device's SELinux label? > > > > I am trying to create a tap device with libvirt on