Displaying 20 results from an estimated 1000 matches similar to: "routes"
2010 Sep 27
3
Rails3 app deploy : how to ?
Hello,
I know many people are asking this kind of question. I searched in
this forum and some others in the web but i did found something clear
enough for my "ror''s power" (i''m not completly new but real
close ;-) )
Well, I''m developing my application on os x, i''m using svn (team
choice) for versionning but i will need to deploy on linux server
(with
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I
cannot save a record:
> rails console
Loading development environment (Rails 3.0.0.beta4)
ruby-1.9.1-p378 > g = Game.new
=> #<Game id: nil, player_id: nil, versus_id: nil, finished: nil,
created_at: nil, updated_at: nil>
ruby-1.9.1-p378 > g.save
NameError: undefined method `<=>'' for class
2008 Jun 24
2
wrong number of arguments (1 for 0) when using respond_to?
Trying to get an otherwise working app (in Rails 2.0.2) up to speed
with Rails 2.1.0 and Ruby 1.8.7, I have some broken code I can''t seem
to fix:
module Pathmaker
def self.append_features( base )
base.before_save do |model|
model.path = model.name.downcase.
gsub( /\ and\ /, ''-'' ).
gsub( /\ on\ /, ''-'' ).
2009 Mar 12
3
Session Expiry
Helllo there,
Can any one help me on this "Session Expiry"
I just want to make the session expire when the system goes idle
how do i do it
yours ,
Narayanan.cj.
--~--~---------~--~----~------------~-------~--~----~
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
2007 May 22
4
Rails API is not well defined
Although somewhat new, I continue to struggle with passing the right
parameters to the Rails methods despite making direct reference to the
documentation. For example, I want to create a form:
form_tag :action => ''deliver'', :id => @event.id, :class => ''entry''
The class doesn''t show up. I''ve tried various combinations of hash
2006 Aug 03
5
Rails - forms
Currently I have a registration form that is built like this:
<label for="First name">First name</label>
<%= text_field "user", "first_name" %><br>
<label for="Last name">Last name</label>
<%= text_field "user", "last_name" %><br>
<label for="Email">Email</label>
2009 Mar 30
3
Great discrepancy between Google Analytics and own counter
Got Google Analytics running on one of my websites. Google defines a
pageview as the most occuring event. Every refresh, every link clicked
to a different part of the page, even loading from cache is an
additional pageview
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=57164
Now it should be known that GA is JS based, and will report directly to
Google from the
2009 Oct 01
9
Strange problem with "and" - "&&"
Hello
I have a strange problem with this code:
<%unless (@students.empty? and params[:commit].nil?) %>
<%="test"%>
<%= render :partial => ''results'' %>
<% end %>
Even though in some cases @students.empty? returns false and params
[:commit].nil? returns true (or the opposite), it displays the test
and the render area.
I put before and
2006 Aug 05
22
MySQL vs SQLite
I have an application where speed is probably the #1 priority here. I am
using MySQL 5.0.22. Would SQL be considerably faster than MySQL?
I know this has been discussed before, but the search on the forums is
not working.
Thanks for your help.
--
Posted via http://www.ruby-forum.com/.
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Colin Law wrote:
>> I have the following html
>> <p><b>text</b>value</p>
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
2008 May 11
8
From "schema.rb" file to MySQL
Hello,
I have write a schema.rb database such as this:
ActiveRecord::Schema.define do
create_table :arts do |t|
t.string :name, :null => false, :limit => 45
end
end
This file is saved into test/db/schema.rb, and test/config/database.yml
is correctly configured with "test_development" database created in a
MySQL server.
Could you help me to install the content of
2006 Jul 18
15
Agile Web Developement with Rails
I recently got a copy of the second addition in PDF
and got stuck on the Ajax portion using highlighting
page 128. While trying to make my cart flash I got an
RJS error when I click add to cart. I have gone back
and made sure my code matched what was in the book but
no help. I sent Dave an email and he rec''d this list.
Anybody got any good links for troubleshooting Ajax or
maybe have see
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in
Vancouver for the mini-workshop I did on the 27th last month, I am making
available the 30 slides I used for the presentation.
The slides were used in conjunction with me demonstrating it via command
line. Alot was learned by both attendees, and quite possibly even more so by
myself while teaching the material.
I created
2006 Aug 18
4
DateBocks v2.0.0 Released
Excert from http://www.nshb.net/datebocks-2-0-0-released
Woohoo!! Finally released the next generation of DateBocks (aka
DateBox) v2.0.0.
This was a long time coming, after its initial version release allll
the way back in January, this is a nice edition to the popular tool I
released before.
This version is chalked full of features. Here is the cut out from the
CHANGELOG
== 2.0.0 - AUGUST 16,
2006 Jul 23
2
[OT] Ajax design question - breaking a table with text...
Hello everyone,
I''ve got a table of data that looks like the following:
...
<tr>
<td>Field 1</td>
<td>Field 2</td>
<td><%= link_to "Info about Field 1", ... %></td>
<td><%= link_to "Info about Field 2", ... %></td>
</tr>
I''d like the user to be able to click on "Info about
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=
2006 May 28
9
Railsmanual.org
Did anyone else catch the redesign? I don''t know who''s responsible, but it''s
lookin better!
Good job...
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/f9f92618/attachment.html
2006 Jul 26
6
Javascript tooltips in rails?
Does rails have built in functionality to do javascript tooltips?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 18
4
Canada on Rails - Schedule Released
We are extremely pleased to announce that we have finalized the schedule
(http://canadaonrails.com/yvr06-schedule.html) for the upcoming Ruby on
Rails conference in Vancouver, BC on April 13th - 14th, 2006.
There are 15 speakers packed into two full days of presentations ranging
from 30 minutes to 90 minute keynotes.
Presentation topics include:
* Where will Rails be riding next?
* Enterprise
2006 Jul 16
29
Problem installing on Mac OSX
I tried the instruction tutorial on
http://maczealots.com/tutorials/ruby-on-rails/
and in the middle of trying to install fixrbconfig I got an error:
usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably
means you haven''t yet installed Xcode from the Tiger DVD. You won''t be
able to compile Ruby extensions without it. Please install it then rerun
this