I had to write a new path in routes.rb, it waas that simple. Fixed it
all by myself and I feel good that I did it on my own!
Thanks anyway guys,
Joe
On Sep 29, 6:12 pm, Joe wrote:
> Hmm. ok, I suppose you have a vailid point.
>
> I will look through many articles and post back if I find a s
Hmm. ok, I suppose you have a vailid point.
I will look through many articles and post back if I find a solution
(for anyone else who encounters this problem)
On Sep 28, 8:52 pm, Colin Law wrote:
> 2009/9/28 Joe :
>
>
>
> > Have a look for yourself http://www.dev-hq.co.uk
>
> > Its at the mome
2009/9/28 Joe :
>
> Have a look for yourself http://www.dev-hq.co.uk
>
> Its at the moment what would be classed as a "hobby site" but I plan
> to grow it into a profitable buissness in time.
>
Well there is the problem, or at least part of it. If you had been
struggling to complete a site for
Have a look for yourself http://www.dev-hq.co.uk
Its at the moment what would be classed as a "hobby site" but I plan
to grow it into a profitable buissness in time.
Once again please help,
Thanks In Advance,
Joe
On Sep 28, 6:42 pm, Colin Law wrote:
> 2009/9/28 Joe :
>
>
>
>
>
> >> > I
2009/9/28 Joe :
>
>> > I do want
>> > a more direct answer as personally although direct answer may be
>> > classed as "cheating" or "making you do it for me" its the way I find
>> > it best to learn.
>>
>> Well, it's not the way most people on this list find it best to teach.
>
>
> Hmm... OK.
>
> > I do want
> > a more direct answer as personally although direct answer may be
> > classed as "cheating" or "making you do it for me" its the way I find
> > it best to learn.
>
> Well, it's not the way most people on this list find it best to teach.
Hmm... OK.
This thing is with the post a
Joe wrote:
> Well of couse im learning from it, and that is for sure. But I really
> need to fix this before the big part of the learning curve.
You're expecting the impossible. If you want to fix this app yourself,
you need to learn enough to fix it. If you don't have time to do that,
then
Well of couse im learning from it, and that is for sure. But I really
need to fix this before the big part of the learning curve. I do want
a more direct answer as personally although direct answer may be
classed as "cheating" or "making you do it for me" its the way I find
it best to learn.
I a
If you're not good in rails, why are you doing a website in it? Why
are you posting here? Probably to get better, right? Or is it just
to have us fix your site. The info I'm giving you is to help *you*
solve your problem. It's not my problem, and not the problem of this
forum. People that po
Im attempting to edit the tutorial and the tutorial does have content
and name, not the category.
Are the other content bits messing up because i havnt done the form
correctly then?
If so do you have a more direct response to fix it? as im really not
good in rails...
Thanks In Advance,
Joe
I know you've moved on from the path issue, but to help you in the
future, I found something that has helped me figure out paths. One,
someone already mentioned, which was:
:; rake routes
Which you probably already knew. But you can also put a path in that
you're guessing will work and see wh
Right.. Just maybe figured out another bit of it. I changed:
<% form_for(@tutorial_category, @tutorial) do |f| %>
to
<% form_for(@tutorial.category, @tutorial) do |f| %>
and this seems to function properly, however now I have a new issue
that ive been working on for hours and still cant figure
Strangely.. I acctually figured out what was wrong and corrected to:
edit_category_tutorial_path(@tutorial_category.id, @tutorial)
which seems to lead to the edit page. However I now have an issue on
this page, as the form as it was ( <% form_for(@tutorial) do |f| %> )
gives the error:
undefine
Marnen is right. You're not going to get far with people's help most
places if you don't take the minimal effort to be courteous (or at
least stop using "Soz").
You seem to be desperate rather often (http://groups.google.com/group/
rubyonrails-talk/browse_thread/thread/
a25e07d2414e2b32/4bca7399
Joe wrote:
> Any1??
You couldn't wait 24 hours to bump? You couldn't bother to type full
words? Those two things tend to really annoy those in a position to
help.
>
> (Soz for bump, im just RLLY desperate to fix)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Post
Yes correct I am desperate rather often as I was supposed to only take
my site down for a few says to do this and it hs extended onto weeks.
I will read the link (although im so bas in RoR im not honestly sure
if i'll understand it),
If anyone wants to give a more direct answer please feel free
Any1??
(Soz for bump, im just RLLY desperate to fix)
On Sep 25, 6:02 pm, Joe wrote:
> Then I get this error on the tutorial show page:
>
> edit_category_tutorial_url failed to generate from
> {:action=>"edit", :controller=>"tutorials", :category_id=># id: 14, category_id: 1, name: "The tutorial
Then I get this error on the tutorial show page:
edit_category_tutorial_url failed to generate from
{:action=>"edit", :controller=>"tutorials", :category_id=>#}, expected:
{:action=>"edit", :controller=>"tutorials"}, diff:
{:category_id=>#}
On Sep 25, 9:11 am, bill walton wrote:
> Hi Joe,
>
>
>
Hi Joe,
On Thu, 2009-09-24 at 22:54 -0700, Joe wrote:
> edit_category GET /categories/:id/edit(.:format)
> edit_category_tutorial GET /categories/:category_id/tutorials/:id/edit
> (.:format)
> >
> > On Sep 24, 11:09 am, Joe wrote:
> >
> > > <%= link_to 'Edit', edit_category_path(@category)
categories GET /categories(.:format)
POST /categories(.:format)
new_category GET /categories/new(.:format)
edit_category GET /categories/:id/edit(.:format)
category GET /categories/:id(.:format)
PUT /categories /categories/:id(.:format)
DELETE /categories/
What do you mean your tutorials "are stored inside categories?"
Also: rake routes
-eric
On Sep 24, 11:09 am, Joe wrote:
> Hi, Ive recently bene trying to find a way to edit my tutorials (which
> are stored inside categories) in my RoR app. To edit my category's
> names I use the following in t
Joe wrote:
>
> undefined method `edit_tutorial_path' for # 0x5ce52fc>
>
> (or something of those origins)
> Thanks In Advance,
>
>
> Joe
check out your routes file .. config/routes.rb and then possibly google
"restful routing rails" if you are still stuck
hth
ilan
--
Posted via http:/
22 matches
Mail list logo