On 11 August 2012 06:26, sameena Khan wrote:
> no am running 2.3.8
Just be aware then that following a tutorial that does not match the
version of rails you are using can be difficult, as whenever something
does not work you do not know whether you have done something wrong or
it is just that the
thanks
On Fri, Aug 10, 2012 at 7:29 PM, Philipp Fehre wrote:
> You should try ActiveMerchant (http://activemerchant.org/) works great
> for me here and paypal integreation doesn't get any easier.
>
> cheers
>
>
> On Aug 10, 2012, at 2:35 PM, honey ruby
> wrote:
>
> > hi all im trying to impleme
no am running 2.3.8
On Fri, Aug 10, 2012 at 11:00 PM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:
> On Fri, Aug 10, 2012 at 6:32 AM, Khan
> wrote:
> > hi all im trying to follow this link
> > http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htmto
> > learn testing. i
On 9 August 2012 17:06, tomkins wrote:
> I have validates_format_of :name, :with => *my regex*, :message => "That's
> wrong"
> The validation works but the message does not get displayed when the user
> enters invalid data.
> Does anyone have any ideas how to fix it?
What have you got in the vi
This is posted years after the fact, but just in case anyone arrives via
a web search:
The rescue_from method shown above will NOT catch routing errors in
Rails 3.1 and Rails 3.2. In particular, this won't work:
# file: app/controllers/application_controller.rb
class ApplicationControlle
If the button is to submit a form, you can use image_tag_submit
http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-image_submit_tag
Otherwise, you can just use link_to(image_tag(...))
--
You received this message because you are subscribed to the Google Groups "
I'm calling button_to in my page, and it renders a form with a submit
button just fine. But what I'd really like is
instead of
https://groups.google.com/groups/opt_out.
Hi Tyler,
On Thu, Aug 9, 2012 at 2:32 PM, t.pickett66 wrote:
> I have several models that are all linked together in a time
> tracking/billing system ala:
>
> class Claim < AR::B
> has_many :appointments
>
> def student
> @student ||= Student.joins(student_appointments:
> :claim).where('
On Fri, Aug 10, 2012 at 6:32 AM, Khan wrote:
> hi all im trying to follow this link
> http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to
> learn testing. i got this error
> undefined method `fixtures' for BookControllerTest:Class (NoMethodError)
And, for whatever reason, y
Hello,
the rubyonrails-security announcement for CVE-2012-3465 "XSS
Vulnerability in strip_tags" mentions that a work around for earlier
versions should be attached, but there's none, only patches for 3.0
series and up.
Is the work around available? If so, where can I get hold of it?
Thanks
I have validates_format_of :name, :with => *my regex*, :message => "That's
wrong"
The validation works but the message does not get displayed when the user
enters invalid data.
Does anyone have any ideas how to fix it?
Thanks.
--
You received this message because you are subscribed to the Goog
Hi Group,
I have a script.js.coffee.erb file where I have small HTML template and I
already am using image_tag helper.
I would also liket to use form tag helpers in there.
How to include ActionView::Helpers::FormTagHelper in Asset Pipeline processing?
kind regards,
Cyprian
--
You received thi
Cross post from Stack Overflow (
http://stackoverflow.com/questions/11894180/how-does-one-correctly-add-custom-sql-dml-in-migrations
)
I had a situation today where I wanted to add a partial postgres index to a
table in a migration. Naturally this kind of stuff is not possible yet in
rails u
Hi All,
We are a company based in Melbourne, Australia looking for a remote developer
to assist our experienced technical lead in the development and maintenance of
our ROR web application. The position would require approx 30 hours per week
initially with ongoing work of between 10-15 hours. M
I have several models that are all linked together in a time
tracking/billing system ala:
class Claim < AR::B
has_many :appointments
def student
@student ||= Student.joins(student_appointments:
:claim).where('`claims`.`id` = ?',self.id).group('`students`.`id`').first
#second draft
Hi Agis,
Do you have much experience with Coffeescript / Backbone JS?
On Friday, August 10, 2012 9:12:53 PM UTC+10, Agis A. wrote:
>
> I'm doing Ruby & Rails development for almost a year now and I'm loving
> it! I've also done 2 commercial projects (their source is in private github
> repos, I
Hi All,
We are a small records management company based in Melbourne, Australia.We
are looking to a reasonably experienced ROR developer to assist our
technical lead in the ongoing develop and maintenance of our
web application, The position will initall involve 25+ hours per week,
slowing to
hi all im trying to follow this link
http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm to
learn testing. i got this error
undefined method `fixtures' for BookControllerTest:Class (NoMethodError)
i followed as it was mentioned
thanks
--
You received this message because y
You should try ActiveMerchant (http://activemerchant.org/) works great for me
here and paypal integreation doesn't get any easier.
cheers
On Aug 10, 2012, at 2:35 PM, honey ruby wrote:
> hi all im trying to implement paypal in my app can any one suggest me the
> best paypal method to go for.
On 10 August 2012 13:37, rubyrails9 wrote:
> can I reload thickbox automatically?
I have no idea even what thickbox is, sorry.
Colin
>
>
> On Fri, Aug 10, 2012 at 6:00 PM, rubyrails9 wrote:
>>
>> I have used link_to tag already and button tag also... my major
>> requirement is that I n
can I reload thickbox automatically?
On Fri, Aug 10, 2012 at 6:00 PM, rubyrails9 wrote:
> I have used link_to tag already and button tag also... my major
> requirement is that I need to show them in thickbox...
>
>
> On Fri, Aug 10, 2012 at 5:59 PM, rubyrails9 wrote:
>
>> Actually I hav
hi all im trying to implement paypal in my app can any one suggest me the
best paypal method to go for.
cheers
--
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-talk@googlegroups.com.
To u
I have used link_to tag already and button tag also... my major
requirement is that I need to show them in thickbox...
On Fri, Aug 10, 2012 at 5:59 PM, rubyrails9 wrote:
> Actually I have now install foot note gem in my development mode Here
> what I am getting is that, data is inserted
Actually I have now install foot note gem in my development mode Here
what I am getting is that, data is inserted into cart, but it is not
showing me in thick box (*localhost:3000*) as my thick box pop-ups at my
home page... It is showing me in *localhost:3000/cart*... Its actual
link...
pr
I'm doing Ruby & Rails development for almost a year now and I'm loving it!
I've also done 2 commercial projects (their source is in private github
repos, I can provide it if needed) and I'm currently looking for a job.
Thanks.
Github: http://github.com/Agis
Blog: http://agis.heroku.com
Twitter
On 10 August 2012 11:26, rubyrails9 wrote:
> I mean, product id is passed... but its not showing me cart page...
So when you click the button the first time you see it calling an
action in the log, but that action is not doing what you expect? In
that case, as I said before, have a look at the R
I mean, product id is passed... but its not showing me cart page...
On Fri, Aug 10, 2012 at 3:54 PM, rubyrails9 wrote:
> that all I have done...I am not getting anything in development log
> Any other suggestion??
>
>
> On Fri, Aug 10, 2012 at 2:55 PM, Colin Law wrote:
>
>> On 10 August 201
that all I have done...I am not getting anything in development log
Any other suggestion??
On Fri, Aug 10, 2012 at 2:55 PM, Colin Law wrote:
> On 10 August 2012 09:48, rubyrails9 wrote:
> > I am developing an e-commerce site.. and now I got stuck at one point..
> When
> > I submit the form
Hi all,
I am getting the Application Error in rails latest version 3.2.7. In local
its works fine when using rails s -e production.
but moved to heroku application is not working i could not able to view
the log because heroku logs saying `initialize': Connection refused -
connect(2) (Errno
The rubyonrails-security announcement for CVE-2012-3465 "XSS
Vulnerability in strip_tags" mentions that a work around for earlier
versions should be attached, but there's none, only patches for 3.0
series and up.
Is the work around available? If so, where can I get hold of it?
Thanks in advance,
On 10 August 2012 09:48, rubyrails9 wrote:
> I am developing an e-commerce site.. and now I got stuck at one point.. When
> I submit the form ,it doesn't submits on the first click, and i need to give
> a second click to get it working... I have used anchor tag to submit my data
> bcoz I want to s
I am developing an e-commerce site.. and now I got stuck at one point..
When I submit the form ,it doesn't submits on the *first click*, and i need
to give a second click to get it working... I have used anchor tag to
submit my data bcoz I want to show the data inside thickbox(iframe)...
View fi
Hi,
I have a strange problem.
Scenario:
When loading an x page. I am making an ajax call in jQuery to server
'latest' action. Now, when I set a session in 'latest' action. To check
check created session I made another ajax request to same 'latest'
action.
Here created session is nil.
code:
---
On 10 August 2012 03:28, Alexander Farley wrote:
> I'm using the 'builder' gem. I create an XML builder, add a sequence of
> tags with inner text, then escape the HTML, then save the object.
>
> Problem: The following gsub tag is appearing in my XML that I didn't put
> there.
> >=">">(?-mix:[&\
34 matches
Mail list logo