Displaying 20 results from an estimated 2000 matches similar to: "Basic question map.root question"
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
This is to answer one of my old issues, that I was having using Theme
support plugin using with Rails 1.2.
When you get an latest edge Rails update and run your application which
has Theme support plugin you will get following error
/script/../config/../vendor/plugins/theme_support/lib/patches/routeset_ex.rb:26:in
`create_theme_routes'': undefined method `named_route'' for
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>"
when I tried to run my rails application after installing
will_paginate. Details are as below:
undefined method `page_count'' for #<Array:0xb7073e1c>
Extracted source (around line #7):
4: <%= a.text%>
5: <% end %>
6:
7: <%= will_paginate @announcements,
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi ,
I want realize a web service with rails, but it''s the response it''s
very slow. I want only saw all element present in my base.
I did a base Customers (with element like id, name, phone,...). I
added two elements.
I did a model customer, a web_service customer.
In the file /app/apis/customer_api.rb
class CustomerApi < ActionWebService::API::Base
api_method :listid,
2008 Jul 01
4
Errno::EIO - Input/output error
hi all,
my appl works well but i get the following error suddenly for few
pages. to resolve this, i had to restart the server everytime. then it
works fine for some time, but after some time it appears again. this is
happening contineously. i searched for solution on this, but didn''t get
much. can anybody help in this plaese? any help will be greatly
appreciated... i''ve pasted
2008 Jun 10
1
NameError in AdminController, uninitialized constant
Hi there basically following the "Agile Web Development With Rails, 2nd
Edition"
i followed the tutorial exaclty, worked fine, so i decided to change one
thing
on page 74 instead of:
ruby script/generate model product
i used:
ruby script/generate model propertys
and:
depot_a/db/migrate/001_create_products.rb
~/Rails/ecom/db/migrate$ cat 001_create_propertys.rb
class
2007 Dec 23
8
will_paginate wont_paginate for me!
Sorry for the cheesy topic name couldn''t resist.
B4 I go into details I''m rocking Rails 1.2.6. I''m hosting on MediaTemple
and they seem to working on some issue between their grid servers and
2.0.
I''m struggling with pagination. I spent a few hours discovering that
everyone thinks you should use a plugin to do your paginations. It seems
will_paginate is
2006 Aug 03
1
routeset mapper problem
hello,
I installed a rails app on dreamhost, which I''m building based on the
Comatose plugin, and it went smoothly for the first version.
Now I uploaded a second version where I broke down the Comatose code
into a regular rails app, which works alright locally, but can''t get
routing to work the same as before on the server. I believe I
double-checked all gotchas mentioned
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that
refuses to send emails using ActionMailer.
Looking at the log, it become obvious what''s happening, the system is
looking for templates with underscores at the end. Notice the
exception_notification_ .
For example:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for
2011 Mar 18
6
Could not find sqlite3
I am trying to get Ruby/Rails running on my mac but having some issues.
I created a new rails project "blog_test" trying to get something
working.
When I follow this guide
http://guides.rubyonrails.org/getting_started.html it says to do a
"db:create". This is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed
2007 Sep 18
10
Routes
hi all,
I want to move some routing tasks out of the router and into the
controller. The goal is to make Merb feel less like mod_rewrite and
give the user more control at the controller. The new Router is
simple: it takes the path_info (not the whole request) then outputs a
controller class and some parameters from the path matching. The rest
of the routing would be done at the controller level.
2007 Mar 23
1
can't load just saved R object "ReadItem: unknown type 65"
I have run into a problem loading a just saved R object using R-devel. I
have been saving and loading this particular type of R object for a long
while and never ran into this problem. I save, then immediately reload
(to test save) and get "ReadItem: unnknown type 65".
This error is reproducible after logout from server and restart of emacs
and R.
Below is my output and
2007 Mar 23
1
can't load just saved R object "ReadItem: unknown type 65"
I have run into a problem loading a just saved R object using R-devel. I
have been saving and loading this particular type of R object for a long
while and never ran into this problem. I save, then immediately reload
(to test save) and get "ReadItem: unnknown type 65".
This error is reproducible after logout from server and restart of emacs
and R.
Below is my output and
2009 May 24
3
index.erb vs rhtml
I am a total Ruby/RoR n00b having just started reading the ''Ruby on
Rails Bible'' book two days ago. I''ve been trying to work out through
the introductory ''Your first ruby on rails application'' section, but
I''ve run into problems already!
The book goes on about creating the view templates and naming them
with the *.html.erb extension, but I get
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2009 Jul 26
2
How knows my paths in link_to? If I do not defined.
Hello,
It´s my first post here. :)
I´l following the guide of Ruby, but I need to know how the Ruby knows
my path to other pages if I did not define anything, like this:
app/views/posts/index.html.erb:
<td><%= link_to ''Show'', post %></td>
<td><%= link_to ''Edit'', edit_post_path(post) %></td>
Other
2018 Jul 05
2
Segfault on ubuntu 18.04
I am running R 3.5.1 on ubuntu 18.04, installed via apt. When I run R
from the bash prompt, I get (reinstalling r-base doesn't help)
> devtools::install_github("goranbrostrom/eha", build_vignettes = TRUE)
*** caught segfault ***
address 0x68456, cause 'memory not mapped'
Traceback:
1: dyn.load(file, DLLpath = DLLpath, ...)
2: library.dynam(lib, package,
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello,
On my local machine (Mac OS X 10.5.5), I get the following error when I try
to run script/server start :
"Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
--system` and try again."
The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
I''ve run the rake rails:update command.
If I create a new Rails app, it starts with the command
2008 Apr 28
4
Failed upgrade to Rails 2.0.2
I tried upgrading my site from 1.2.6 to 2.0.2 and now it''s completely dead.
The main stumbling block was that I use ActionWebService. After googling
around I found several different solutions to getting that to work,
including changes to config/environment.rb, adding search paths, and
changing gems. None of those seemed to work, and now I''m at the point where
nothing works at
2009 Oct 02
4
Can't access http://localhost:3000
Hello,
Pure newbie question.
After installeing Ruby, Rail and al the gems I am following the
tutorial here
http://guides.rubyonrails.org/getting_started.html
I start a server with Mongrel and it seems to be working, but when I
try to acces http://localhost:3000 i get a firefox error:
Firefox can''t establish a connection to the server at localhost:3000
I work under Vista with Ruby the