On Dec 2, 2013, at 8:43 PM, yinwen Xuan wrote:
> but the result is all showing sq feet, any idea, sorry I don't know
> where else I can work it out.
You're very close, but spelling matters. Review my prior message to you.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
>
> How many "if"s? How many "end"s? See the problem?
>
> Seriously, you need to work through a tutorial, as suggested earlier,
> rather than expect the members of this forum to write your code one
> statement at a time.
>
Sorry and thanks! I did go through the tutorial and edit my code as
this:
i know a resource about qr code decoder,recommended by friend !
http://www.keepautomation.com/products/net_barcode_reader/barcode_qrcode.html
--
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 u
On Dec 2, 2013, at 8:03 PM, yinwen Xuan wrote:
> Then I extend your code to the follow, but not working :-(
How many "if"s? How many "end"s? See the problem?
Seriously, you need to work through a tutorial, as suggested earlier, rather
than expect the members of this forum to write your code on
Walter Davis wrote in post #1129287:
> On Dec 2, 2013, at 8:33 PM, yinwen Xuan wrote:
>
>>> %> as the container, rather <% %> or <%- %> so as to avoid outputting
>> but not working
> This is the same code I commented on, I don't see that you took up any
> of my suggestions here.
>
> Land Area: <%=
Speed up image processing by using a easy to use image scaling, image
resizing, image cropping or image flipping pulgins. Adopt the simplest
apis and sample codes in this tutorial.
http://www.rasteredge.com/how-to/asp-net-imaging/imaging-processing/
--
Posted via http://www.ruby-forum.com/.
--
On Dec 2, 2013, at 8:33 PM, yinwen Xuan wrote:
> Walter Davis wrote in post #1129271:
>> On Dec 2, 2013, at 5:16 PM, yinwen Xuan wrote:
>>
> because the the field display not right, when its sqm, it show M2 I want
>>> the original code on the themes is:
>>> and thanks in advance!
>> If
Thanks for your book.
On Friday, November 29, 2013, angela ebirim wrote:
> Just joined the facebook group.
>
> Many thanks
>
>
> On 28 November 2013 21:16, Daniel Kehoe
> 'fortuityconsult...@gmail.com');>
> > wrote:
>
>>
>>
>> On Thursday, November 28, 2013 1:05:52 PM UTC-8, trekr67 wrote:
>>>
Walter Davis wrote in post #1129271:
> On Dec 2, 2013, at 5:16 PM, yinwen Xuan wrote:
>
because the the field display not right, when its sqm, it show M2 I want
>>>
>> the original code on the themes is:
>> and thanks in advance!
> If you're trying to do a comparison, you need to quote the M2,
Walter Davis wrote in post #1129271:
> On Dec 2, 2013, at 5:16 PM, yinwen Xuan wrote:
>
because the the field display not right, when its sqm, it show M2 I want
>>>
>> the original code on the themes is:
>> and thanks in advance!
> If you're trying to do a comparison, you need to quote the M2,
On Dec 2, 2013, at 5:16 PM, yinwen Xuan wrote:
> Colin Law wrote in post #1129260:
>> On 2 December 2013 21:22, yinwen Xuan wrote:
>>> could you just check why the ruby script not work
>>
>> Why should I help when you have not followed my request not to top
>> post and to remember to quote the
Colin Law wrote in post #1129260:
> On 2 December 2013 21:22, yinwen Xuan wrote:
>> could you just check why the ruby script not work
>
> Why should I help when you have not followed my request not to top
> post and to remember to quote the previous reply?
>
>>
>> it work when only use the field n
On 2 December 2013 21:22, yinwen Xuan wrote:
> could you just check why the ruby script not work
Why should I help when you have not followed my request not to top
post and to remember to quote the previous reply?
>
> it work when only use the field name : <%= land_area_unit -%>
>
> because the
could you just check why the ruby script not work
it work when only use the field name : <%= land_area_unit -%>
because the the field display not right, when its sqm, it show M2 I want
it show m², that's why I want to write a if statement to showing the
right unit format:
<%= if land_area_unit
On 2 December 2013 21:05, yinwen Xuan wrote:
Please don't top post, and please quote the previous message.
Remember this is a mailing list, not a forum, though you may be
accessing it through a forum like interface.
> I mean I can't edit the server, like view controller.
> I only can edit the h
I mean I can't edit the server, like view controller.
I only can edit the html themes, check the attachment for the screen
shot
sorry, I am a beginner and just want do some maintaining
cheers
Attachments:
http://www.ruby-forum.com/attachment/8998/test.jpg
--
Posted via http://www.ruby-forum.c
On 2 December 2013 20:50, yinwen Xuan wrote:
> Hi Colin, Thanks for your advice,
> but I can't access to the rails server, only can edit the ruby script.
> any chance you can check anything wrong with the If statement script?
What do you mean you only have access to the ruby script? The script
y
Hi Colin, Thanks for your advice,
but I can't access to the rails server, only can edit the ruby script.
any chance you can check anything wrong with the If statement script?
cheers
Wayne
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the G
On 2 December 2013 20:24, yinwen Xuan wrote:
> Can anyone have a look this ruby script why it's not working:
>
> <%= if land_area_unit == M2 %>m² <% else %> <%= if land_area_unit
> == HA %>Ha <% else %><%= if land_area_unit == AC %>Ac<% else %>f²
It may be better to do it in the controller anywa
Can anyone have a look this ruby script why it's not working:
<%= if land_area_unit == M2 %>m² <% else %> <%= if land_area_unit
== HA %>Ha <% else %><%= if land_area_unit == AC %>Ac<% else %>f²
What I want to do is show the right unit for the land area.
Thanks!
--
Posted via http://www.ruby-f
How to make infinity loop in background?
In my application.html.erb i want to make this endless:(get_dialogs and the
subscribe_to)
> <% user.get_dialogs do |dialog| %>
> <%= subscribe_to "/dialogs/#{dialog[:id]}" %>
> <% end %>
Of`course, on client side i am using setInterval , but on server
On Saturday, November 30, 2013 10:11:12 AM UTC, Ankur wrote:
>
>
>
> Also, I missed adding create action in controller earlier, have added it
> now:
>
>* def create*
> * Task.create params[:task]*
> * redirect_to :back*
> * end*
>
>
Did you add a route for your create action ? That would
Are you getting any errors in the javascript console?
On Sat, Nov 30, 2013 at 5:10 AM, Harry Pho wrote:
> I'm learning on creating a website using Ruby on Rails (RoR). I had an
> HTML template that I created when I worked with JSP 2 years ago, and now I
> want to reuse it in my RoR website. Thi
23 matches
Mail list logo