Frederick Cheung wrote in post #975249:
>>
> That's pretty much exactly what you'd do (or you might want to add the
> condition on qty into what fetches tries from the database)
>
> Fred
Thanks for letting me know I was on the right track.
--
Posted via http://www.ruby-forum.com/.
--
You recei
Chris Habgood wrote in post #974783:
> You can just pass it into the view as a hidden param.
like a session variable or some thing?
Well I was thinking that maybe I could build a route that went
controller/action/id/qty
So if :qty was absent it would use the general array of tires with that
:id
Hello!
>From my home page you can choose a tire size your looking for this
takes you to the tire_results page.
now this page is built on what tires are in @tire. So you may be looking
at all the 14" tires I have. But you will be looking at singles, pairs
and sets. I would like my customers to be
ok I notice that the builds are diferent
old apps dont have a Configuration/application.rb
but the new applications does
it has Bundler.require(:default, Rails.env) if defined?(Bundler)
and i do have bundler 1.0.7 installed doubt thats the problem but its
the only diference
The old apps we
I had to reinstall my OS and every thing else with it. So on this long
journey I final managed to get my old rails apps running right.
But now any new rails apps a create wont run on my local host threw
mongrel.
I get
C:/Ruby187/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/mongrel.rb:1:in
`r
Hey Peter,
Now I am for from pro, but had to reinstall my whole system and have had
a hell of a time getting ruby back to were it was.
I ran into some sqlite3 problems
after re installing ruby and then installing ruby 1.8.7 I re installed
sqlite3
gem install sqlite3-ruby (I'm a windows guy)
I
ok I'll try reading into that more.
thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group
Hi,
Again I can't get my head around a simple RoR drop down.
for my first drop down all a need is a simple number list which I have
in the "ascential" controller
def index
@size = [12,13,14,15,16,16.5,17,18,19,212,13,0,21,22,23,24]
end
( I have a tire model and I want to be able to display al
Ar Chron wrote in post #955762:
> Cameron Vessey wrote in post #955645:
>>
>> The index page has a link_to that looks like
>>
>> <%= link_to 'Edit', edit_tire_path(tire) %>
>>
>> now maybe I'm missing it but I've tried to find out w
Tim Shaffer wrote in post #955737:
>
> My apologies. I was not intending to be derogatory.
I get frustrated after reading and researching routes in 4 different
places books and websites and not understanding what they explaining.
Then have some say " go read about it"..like I was simpy tryin
Tim Shaffer wrote in post #955599:
> This is a "teach a man to fish" kind of reply...
What does that mean? Is it derogatory?
Give a man a fish and you feed him for a day; teach a man to fish and
you feed him for a lifetime
I can't begin to tell you how insulted I am and Your little link taught
m
> The other option is to specify the controller and action in the
> link_to call.
How would i do that
the controller is named tires_controller.rb
and the view is named print_label.html.erb
So what would the link_to look like?
--
Posted via http://www.ruby-forum.com/.
--
You received thi
Hi,
I am trying to make a product label maker, so as soon as I enter a Tire
into the DB/website I can then print a nice little label from the
website.
This is all being done from a admin account so I'm not worried about
other users.
I added a print_label.html.erb to my tire view. I also added a
Sorry reread you silly long elitest rant and just had to comment on one
or two more things
>
> Umm... perhaps because long-time readers and posters on the forum assume
> that you come to this forum to learn from people who have already
> traveled the road you seem to be on... perhaps because r
Ar Chron wrote:
> Cameron Vessey wrote:
>> You don't get it.
>>
>
> Sorry dude, but you are the one who doesn't get it. Your posts
> 'smelled' a great deal like a total newbie post, and as such elicited a
> response directed at a total newbie
stall instead of source and be at the root of were your program
is..although correct fixed nothing
If I followed your advice I would have simple thrown my computer out a
window and spent the next 2 years trying to learn some totally Alein
crap.
YOUR NOT A HELP!
Cameron Vessey wrote:
> I
Greg Donald wrote:
> On Mon, Sep 20, 2010 at 4:51 PM, Cameron Vessey
> wrote:
>> I read the docs for 3 hours and 2 diferent reference books.. not one
>> told me that adding a map.resource :(controller) to routes would make it
>> so you couldn't use the URL to navi
Marnen Laibow-Koser wrote:
> Cameron Vessey wrote:
>> ok so the first problem was I had
>>
>> map.resources :user_loggin
>>
>> which is a RESTful type routing???
>
> That's normally what you want. Use RESTful routes unless there's a good
&g
ok so the first problem was I had
map.resources :user_loggin
which is a RESTful type routing???
and it messes with URL routing or some thing ...
Deleted it from routes file and can navigate manually threw views...
wierd
--
Posted via http://www.ruby-forum.com/.
--
You received this mess
I have used scaffold to create several controlers each controller
has 3 to 5 views/actions?
I am thinking I should be able to call on each view by simply putting
the url call in the browser address right?
http://localhost:3000/user_loggin/user_home
But that doesn't work
Now I have erased in
>
> Do you have a Git client installed? If not, then you won't be able to
> install plugins from Git repositories.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> mar...@marnen.org
I'm not sure about the git client... none of the sites I've been
googling say any thing about tha
ok now installs a folder with no code in it with
C:\Documents and Settings\Administrator\My
Documents\NetBeansProjects\sms_web_app>ruby script/plugin install
http://github.com/technoweenie/restful-authentication.git
help!... lol
--
Posted via http://www.ruby-forum.com/.
--
You received thi
ok i've gotten some succsess but I can't find plugin in now..
I had to go to the actual folder project was in for it to recognize
scripting
C:\Documents and
Settings\Administrator\MyDocuments\NetBeansProjects\sms_web_app>
ruby script/plugin install
:http://github.com/technoweenie/restful-aut
I'm a fairly new programmer, and I jump back and forth between PHP C#
and Ruby.
I'm trying to install a restful-authentication plugin but I can't get it
to install into my ruby directory. I have looked it up and folowed the
tutorials but no luck.
I've tried
C:\ruby>script/plugin source
http://svn
24 matches
Mail list logo