Abhi M. wrote:
check that and let me know I am abt to leave
it is giving the error:
ruby: permission denied – script
Abhi M. wrote:
check that and let me know I am abt to leave
it is giving the error:
ruby: permission denied – script
it is giving the error:
ruby: permission denied – script
@orders = Order.find :all
@lineitems = Lineitem.find :all
session[:query] = params[:query].strip if params[:query]
if session[:query] and request.xhr?
@users = User.find(:all, :conditions => [“first_name LIKE ?”,
“%#{session[:query]}%”], :order => “first_name ASC”)
@product=Array.new()
@users.each do |user|
@orders.each do |order|
breakpoint user.id
breakpoint order.user_id
if user.id == order.user_id
@id = order.id
breakpoint Lineitem.find_by_order_id(@id)
#@var = Lineitem.find_by_order_id(@id)
#breakpoint @var
@product << @var
render_text @product
else
render_text "andnddjhg"
use breakpoint or somehow try to know whether the values user.id and
order.user_id are correct and coming inside the loop
ok leave it .About breakpoint i will tell u later.can you some how know
the values i mentioned
Abhi M. wrote:
while using breakpoint it will show like
Executing breakpoint “value”(if there is value else blank)…at
line
you have to type exit for each breakpoint
In console it is giving the error:
ruby: permission denied – script . Not able to view watever
u hav written above… i.e Executing breakpoint “value”(if there is
value else blank)…at…
it would have been better if you have used instant rails. this will
install all ruby,rails. also have many features
can u please check those things without breakpoint.I dont know if there
is any other way to find valuses but still if you know please tell the
values i mentioned within 5 mins
mail me the latest
while using breakpoint it will show like
Executing breakpoint “value”(if there is value else blank)…at
line
you have to type exit for each breakpoint
did you check the db whether there is order_id = 1
Abhi M. wrote:
it would have been better if you have used instant rails. this will
install all ruby,rails. also have many featurescan u please check those things without breakpoint.I dont know if there
is any other way to find valuses but still if you know please tell the
values i mentioned within 5 mins
mail me the latest
@users.each do |user|
@orders.each do |order|
if user.id == order.user_id
@id = order.id
yeah the value of @id is 1.
@var = Lineitem.find_by_order_id(@id)
the value of @var is #
@product << @var
the value of @product is #
I am not getting any other reasons
Abhi M. wrote:
I am not getting any other reasons
yeah order_id is 1. Okie now lets see it tomorrow. Thanks a lot for your
help.
Abhi M., Ruchita - Can you please post your email addresses ?
On Nov 13, 2007 1:49 PM, Abhi M. [email protected]
wrote:
check that and let me know I am abt to leave
–
Posted via http://www.ruby-forum.com/.
–
Cheers!
Ruchita S. wrote:
Hi Ruchita and Abhi M.
Take a look at this:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/893dfa334ed3253d/e5a0b63a1b73f9ef?hl=en&
Guys, you really need to take this off-list. This thread has 110 posts
now, the bulk of which is only between the 2 of you, ranging from
Content Management in Rails, Deepavali wishes (and happy diwali to the
both of you), IDE discussions, Good morning, Good luck, Good night,
issues relating to thumbnails, and finally issues relating to finding a
record.
This is simply a case of message ping-pong between the two of you since
quite a while now. It is not very helpful to the list to have a
ball-by-ball update of your application. This kind of conversation is
much better suited to email or MSN or IRC…
I think the both of you seem to be accessing the forum from a web
gateway but there are a large number of us who receive this through
google groups email - and we are getting continuous emails from just the
2 of you.
I don’t think anyone here has a problem with there being a lot of email
relating to a specific subject, but this thread hardly fits the bill.
Also, there have already been 2 requests to take this off-list since it
seems more like an instant messaging conversation than a technical
group.
I know I could set it to send any mail from the 2 of you to the junk
folder (and probably many have aready done so), but that means that when
you do ask something else that I may be able to help with, your mail
will be sitting in Junk.
Cheers,
Mohit.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs