Displaying 20 results from an estimated 10000 matches similar to: "0.10.1 problems"
2005 Mar 07
2
Problem with Rails 0.10.1
I''ve got a view template that contains this:
<%= render_component(:controller => ''reviews'',
:action => ''show'',
:params => { ''id'' => review.id })
%>
In Rails 0.10.0 this worked just fine. After I upgraded to 0.10.1 I get this
error:
ActiveRecord::RecordNotFound in
2006 Feb 20
3
Scaffold NoMethodError on Mac
Hello All:
I am still somewhat new to Rails but have created a successful app on a
Windows box and am venturing out for my first Mac Rails app. Being
relatively new to Macs as well, I believe I have a good install of the
latest versions (ruby, rails, mysql, webrick) but have hit two snags.
First - when I try to scaffold one of the controllers (i.e.
localhost:3000/mycontroller/new) just to
2006 Feb 20
18
Win XP/ Mysql Problem
I''ve searched everywher for an answer to my problem, and the only thing
I''ve found is people with the same problem. I''m hoping someone has an
answer here:
I''m working through the agile web developement with rails book and when
I goto scaffold the products table I get the following message.
exists app/controllers/
exists app/helpers/
exists
2005 Mar 23
2
0.11 problems
I''ve upgraded to 0.11 this morning specifically to test out the
pagination stuff. When that didn''t work (didn''t recognise the command)
I deleted my project and recreated from scratch. So in short
rails projectname
cd projectname
edit config/database.yml (my database is postgres by the way)
ruby scripts/generate model Recordtype
ruby
2005 Mar 08
15
Rails 0.10.1and WEBrick
Doesn''t appear to work with WEBrick. Works find with Apache/FastCGI.
Something wrong in the way Rails is trying to process paths from the
WEBrick server. If I try to send in http://localhost:3000/recipes/new,
WEBrick is interpreting /new as my controller, instead of my action.
2005 Mar 04
3
Boolean values
Hi,
I''m using SQL Server. I have a BIT field. I have a fix and a question.
This is a patch for a bug in the SQL Server adapter that causes any insert or
update to fail:
lib/active_record/connection_adapters/sqlserver_adapter.rb
@@ -239,2 +239,2 @@
- when TrueClass then (column && column.type == :boolean ?
"''t''" : "1")
2006 Jan 02
19
AR: How to store and restore in YML.
Hello-
I have a database with entries that are segmented by customers. I would
like to be able to store / delete / restore a particular customer''s
information. I will need to rebuild the rows on restore and also
rebuild the associations for the different tables.
For example,
customer {
id
name
}
companies {
id
customer_id (belongs_to)
name
}
contacts {
id
2006 Mar 23
6
easy scaffold question(s)
I''m doing very well with the Hibbs Rolling on Rails tutorial. I have an
easy question for my personal notes. I''m coming up with a simple framework
of steps for creating a basic database. It includes the following maxims to
make original app creation easy:
app_name = MySQL database name
SQL_tablename = model_name
model_name = controller-name
Is this going to work for getting
2006 May 26
8
calling render_to_string outside of controller
How can I call render_to_string outside of a controller. I''m stuck on
this. I''ve nearly got my plugin finished but I can''t seem to get this
to work. The method is in ActionController::Base but it is protected.
--
Posted via http://www.ruby-forum.com/.
2005 Mar 07
2
0.10.1 Upgrade problems
I just did an upgrade to Rails 0.10.1. It seems to have broken my
app. I get this error (nothing works):
ActionController::RoutingError (No route for path: ""):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.5.1/lib/action_controller/routing.rb:258:in
`recognize!''
/usr/local/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/dispatcher.rb:32:in
`dispatch''
2006 Feb 27
8
Newbie question - Automatically update _form.rhtml?
Hi all, I''ve got an odd issue. I''m new to Ruby/Rails and have a bit of a
silly question. I''m following along with the nice little tutorial here,
to get an idea of the system:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3
However, I''m running into an issue where the author adds a new field in
his database, refreshes the browser and shows
2005 Dec 31
6
What does this error mean when using scaffold?
Last login: Fri Dec 30 15:34:43 on ttyp1
source /private/var/tmp/folders.501/TemporaryItems/Locomotive.
1135999534.992790-16807
Welcome to Darwin!
frank-roccos-powerbook58:~ farocco$ source /private/var/tmp/folders.
501/TemporaryItems/Locomotive.1135999534.992790-16807
frank-roccos-powerbook58:~/Documents/receipts farocco$ script/
generate scaffold receipt receipt
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2010 Aug 03
2
Strange error message when rendering the scaffold form
Hello everyone, I am developing my application and I created a
scaffold called listas, but when I acess /listas/new I get this error
message:
NoMethodError in Listas#new
Showing /home/rodrigo3n/code/listeiroo/app/views/listas/_form.html.erb
where line #15 raised:
undefined method `deep_symbolize_keys'' for nil:NilClass
Extracted source (around line #15):
12: <% end %>
13:
14:
2006 Aug 25
1
Ferret-0.10.1 released
Hi all,
I''ve just released Ferret-0.10.1. It contains some important bug fixes
and the minor addition of the Ferret::I class which is just an alias
for Ferret::Index::Index.
I still need to write up a release announcement for the 0.10.0 series.
I haven''t forgotten about it and it may seem strange that I''ve already
released 0.10.1 before writing the announcement.
2006 May 03
6
Scaffold Generation Problem
Greetings all,
I''m sure there is probably a very obvious reason for the following
problem. However, after much hair pulling, I am just not seeing it yet.
As you can see from the trace below, I am not able to complete scaffold
generation due to some problem between rails and mysql. I double
checked MySQL to make sure both my Ruby user and Root user have full
rights to the database.
2010 Oct 02
3
MySQL setup question
Hello,
I''m new to ror and i really like it so far! for a new application i
would like to setup a ror application connecting to mysql but i can''t
figure it out how. rails works fine with sqllite out the box but i
need it working with mysql. these are my versions:
-OSX snow leopard
-ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
-Rails 3.0.0
$
2006 Jan 19
6
One Last Question for me..
And then I should be ready to roll with my project.. I have some fine
tuning of the looks to do after, but funtionality first!
This is probably a rails question.. but I''m not sure where to sign up
for the rails questions email group? (I guess I turned this into a 2
question email).
I''ll ask here and then if someone will send me the url of where I go
to sign up for the rails
2006 Jan 23
2
scaffolding generators and pluralization rules
I''ve been working through the "Rolling with Ruby on Rails" tutorial and have come up against something I''m hoping someone here can help me understand.
In part two of the tutorial, Curt introduces the "ruby script\generate scaffold re
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
Hi,
A newbie in the RoR world, I''m already more or less stuck when
generating the scaffold for my first tutorial project ...
When I try to generate scaffold code for my version of the ''depot''
application from the ''Agile rails ...'' book, I receive the following
error:
#28000Access denied for user ''bo''@''localhost''