Re: [Rails] Re: ActionView::Template::Error (comparison of Fixnum with nil failed):

2012-07-17 Thread yatta20
On Tuesday, July 17, 2012 4:24:10 PM UTC-4, Colin Law wrote: > > On 17 July 2012 21:20, yatta20 wrote: > > > > On Tuesday, July 17, 2012 4:09:36 PM UTC-4, Oscar Del Ben wrote: > >> > >> No, and we can't help you here because it really depends on the

Re: [Rails] Re: ActionView::Template::Error (comparison of Fixnum with nil failed):

2012-07-17 Thread yatta20
On Tuesday, July 17, 2012 4:09:36 PM UTC-4, Oscar Del Ben wrote: > > No, and we can't help you here because it really depends on the business > logic. I recommend you find someone (offline) experienced that helps you > with that problem. > > -- > Oscar Del Ben > Sent with Sparrow

Re: [Rails] Re: ActionView::Template::Error (comparison of Fixnum with nil failed):

2012-07-17 Thread yatta20
Oscar, > I'm very new. Do I need to delete the block of code "if state_index < current_index" ? > On Tuesday, July 17, 2012 at 12:55 PM, yatta20 wrote: > > > On Tuesday, July 17, 2012 3:46:55 PM UTC-4, yatta20 wrote: > > Hello I'm a newbie, >

[Rails] Re: ActionView::Template::Error (comparison of Fixnum with nil failed):

2012-07-17 Thread yatta20
On Tuesday, July 17, 2012 3:46:55 PM UTC-4, yatta20 wrote: > > Hello I'm a newbie, > > Our server went down recently and now I'm getting page not found when I > try to purchase a product. > > Ruby 1.9.3, Rails 3.21 > > > > Here's the informat

[Rails] ActionView::Template::Error (comparison of Fixnum with nil failed):

2012-07-17 Thread yatta20
Hello I'm a newbie, Our server went down recently and now I'm getting page not found when I try to purchase a product. Ruby 1.9.3, Rails 3.21 Here's the information from the log file. ActionView::Template::Error (comparison of Fixnum with nil failed): 3: <% end %> 4: 5:

[Rails] Re: ActionView::Template::Error (undefined method `strftime' for nil:NilClass)

2012-06-26 Thread yatta20
On Tuesday, June 26, 2012 8:33:31 AM UTC-4, yatta20 wrote: > > Hello, I'm a newbie. I need help resolving this issue. I recently added > a pdf to the newsletter admin section of the website and now I can no > longer view page 2 of the list of pdf's. Nor can I login to see

Re: [Rails] ActionView::Template::Error (undefined method `strftime' for nil:NilClass)

2012-06-26 Thread yatta20
I replaced line 31 with the following text: <%unless enewsletter.publication_date.nil?%><%=enewsletter.publication_date.strftime("%m/%Y")%> I still get the page We're sorry but something went wrong. On Tuesday, June 26, 2012 8:46:30 AM UTC-4, Carlos Mathiasen wrote: > Hi, you can see the error

[Rails] ActionView::Template::Error (undefined method `strftime' for nil:NilClass)

2012-06-26 Thread yatta20
Hello, I'm a newbie. I need help resolving this issue. I recently added a pdf to the newsletter admin section of the website and now I can no longer view page 2 of the list of pdf's. Nor can I login to see the newsletters as a student. I'm using Ruby 1.9.3, Rails 3.2.1. Here's the information

[Rails] Reset button not working

2011-11-11 Thread yatta20
Hello, I'm new to Ruby. The password reset button no longer works after we rebooted the server. I get a message we're sorry but something went wrong. I'm not sure how to resolve this issue. Here's the code from user_password/new.html.erb Reset Your Password <%= t(:instructions_to