Displaying 20 results from an estimated 55 matches for "instaneous".
2007 Jan 29
6
RJS problem
Hi,
I''m implementing a "digg-like" page, that once you digg. The score for
each item will dynamically reflect your current action +1 .
I am not sure what''s
In the controller I have an action responsible for increase of the
score.It has a corresponding rjs in view.
--------------------------------------------------------------------------------
def arouse
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
2007 Jan 11
6
nil object while the required parameter are in the request
I''m having an application as follows.
I have all the parameters for as object appended in the url.
And there is an action in the controller like this
def newlet
render :layout=> false
@product = Product.new
if request.get?
@product.title= params[:title]
@product.description = params[:description]
@product.primary_link = params[:primary_link]
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller.
All the methods I called in these are workable.
But somehow the new method is not recognizable.
------------------new method I
added--------------------------------------------
def push
# if fair
begin
@product = Product.find(params[:id])
rescue
logger.error("Attempt to access invalid product #{params[:id]}")
2006 Mar 09
3
Need help PLEASE!!! - updating collection from form
Greetings!
I''m trying to update a set of records from the same model on one form. The AWD book gives an example on p.356 but I guess I''m not understanding it.
I can see from the error message I''m getting that the controller is receiving a hash of hashes back from the view, and that it''s got the stuff I expected (two values per record that was sent to the
2006 Jan 10
13
InstantRails 1.0 problems...
Hi,
I have installed InstantRails 1.0 Final on Win XP (Home SP2) and Win 2K 2000.
I was able to get the two apps (cookbook, typo) work fine with Webrick but not with SCGI server. I tried changing the SCGI settings through the InstallRails.exe console so that the Runtime Mode: would be "development" instead of "production" and SCGI port: to 5000 instead of 9998.
2007 Jan 12
9
Nil object in E1 capture the order
I''m following the depot application in the rails bible Agile Web
Development with Rails. In interation E1
NoMethodError in Admin#checkout
Showing app/views/admin/checkout.rhtml where line #12 raised:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.include?
Extracted source (around line #12):
2006 Apr 10
4
First time with Rails
Hi this is my first time with Rails and I''m having problems getting it
to work properly. In the Database.yml file I have set up the following -
development:
adapter: mysql
database: cars
username: *****
password: *****
socket: /path/to/your/mysql.sock
host: *****
But, when I launch the controler it says -
NameError in Add_car#index
uninitialized constant Car
Where am I
2006 Jan 12
10
uninitialized constant error
Hi Everyone,
I''m a newbie to Rails, and I just finished going through the cookbook
tutorial. I''m now trying to build my own application, and I''m trying to
add more inputs to the edit view to modify data in other tables. Below
is the controller code where I am having trouble. PartsLocation is
another table (like Part) in the database, and that is the line where
2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved
so far?
I would like to use ferret and acts_as_ferret on Windows XP. I have
installed 0.10.9 (mswin32) which still seems to have the problem.
I am receiving error messages like:
compile error
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2:
parse error, unexpected
2006 Jun 22
11
Help please
Getting this error:
SyntaxError in CompanyController#positionslist
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
I could not find anything out about it (googling) and it''s not the
clearest error message. Not sure if it''s related to an expected data
type but that wouldn''t make sense. The only other thing I can
2007 Jul 04
2
problems after gem update
Hi, I had ferret working wonderfully but i am regretting doing a gem
update today.
I had alot of trouble first installing it and was really happy to have
it working. The upgrade was from 0.3.1 to 0.4.0.
The problem is;
in the rails console,
>> @results = Book.find_by_contents("peter pan")
=> #<ActsAsFerret::SearchResults:0x487040c @total_hits=0, @results=[]>
Its indexing
2006 May 25
1
AppMailer and McCray''s theme generator
Hi,
I am using Matt McCray''s theme generator.
http://rubyforge.org/projects/theme-generator/
Everything works fine, but rendering an action in a controller using
the AppMailer raises this:
undefined method `current_theme'' for #<AppMailer:0x39df950>
Is there someone who could help me ?
Thanks !
Mickael.
Traces:
2006 Jun 08
3
Back again; errors in depot app
Sorry, but this is a big one - after adding the Ajax portion of the Agile
Web Development tutorial my page displays:
Application error
Change this error message for exceptions thrown outside of an action (like
in Dispatcher setups or broken Ruby code) in public/500.html
It started when I added -
page[:current_item].visual_effect :highlight,
:startcolor => "#88ff88" ,
:endcolor =>
2009 Feb 21
1
undefined method user_id
Basically, Im trying to add comments to photos that other users have
uploaded. And Ive encountered an error:
NoMethodError in CommentsController#create
undefined method `user_id='' for #<Comment:0x4768cd0>
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1857:in
`method_missing''
2007 Jan 31
2
SystemStackError: stack level too deep
I''m testing the http module in console.
BUt I got the following error.
Anyone knows why?
>> Net::HTTP.get_print ''www.google.com'', ''index.html''
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
2007 Sep 18
1
Errno::EACCES - Permission denied while delete a file
hi,
i got the error[Errno::EACCES - Permission denied] , while deleting my
file, for that while searching i came to know i have to set chmod, but i
don''t know how to set chmod in my file, if any one knows, how to set
this one, please let me know, Thanks in advance.
my Error is:
Errno::EACCES in CasesController#delete_attach
Permission denied -
2006 Nov 23
1
Select Tag not working in 1.2rc1
I''m getting the following error message under rc1:
ActionView::TemplateError (wrong number of arguments (1 for 0)) on line
#54 of app/views/admin/admin_index.rhtml:
In my view (* = Line 54):
<%=start_form_tag(:action=>"sales_by_author")%>
*<%=select("author","id",@authors.collect {|a| [a.name,a.id]})%>
<%=submit_tag("Go")%>
2004 Jun 21
3
cannot join win2k to samba domain
i' ve client win9x connect to samba and seems running
good, but i cannot join win2k in to samba..any one can
give me a hand.....?!!
error mesasage no user or wrong password in samba domain
thanks
===========================================================================================
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat akses Internet
2014 Nov 22
2
dovecot & Apple Mail & maildir & lots of Mail
Hi,
Using Mac Mail with 9 mail accounts, more than 150 folders, and 1000s of mails, I get far too many problems lately, and not only on dovecot, so I would say the problem lies with Mac Mail, and even more if you installed Yosemite. As far as I know dovecot handle very well accounts with 100000s email even if the size is very big.
And BTW, looking for a fast and reliable mail client for Mac, to