Displaying 20 results from an estimated 5000 matches similar to: "Are there any disadvantages to using locomotive"
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all,
I was playing with the sample project found on the Wiki at
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
, and everything was working fine, ... till I moved to EdgeRails :
undefined method `weight'' for #<Hash:0x22c7150>
(full error thread below)
Any idea?
Alain
2006 Feb 28
4
How to use Ruby on Rails on OS X
Direct from the horse''s mouth. :-)
http://developer.apple.com/tools/rubyonrails.html
Found via:
http://digg.com/technology/Apple_makes_a_concise_Ruby_on_Rails_tutorial
--
-- Tom Mornini
2005 Dec 16
13
How to pass a collection to paginate?
There must be a better way to write this code:
@project_pages, @projects= paginate :project,
:per_page => 10,
:conditions => ["account_id = ?", account]
?!
If only I could pass the sub-collection
account = ...
@projects = account.project
to paginate, instead of letting it extract it with a find :all + sql
conditions
Alain.
--
Posted via
2005 Dec 18
2
[Bug?] in tests, @foo.bars_count <> @foo.bars.count
Example: if a ''foo'' has 3 ''bars'',
bars_count == "0" # ERROR
bars.count == 3 # OK
It looks like a bug to me.
Alain
--
Posted via http://www.ruby-forum.com/.
2005 Dec 30
2
Locomotive 1.0.0 for Mac OS 10.3+
Hi All,
I''m very happy to announce the release of Locomotive 1.0.0.
Locomotive is a one-click development solution for Rails on Mac OS X.
See more details at http://locomotive.sourceforge.net
Get it at:
http://prdownloads.sourceforge.net/locomotive/Locomotive_1.0.0.dmg?download
What''s New?
===========
* Server bundle updated to lighttpd 1.4.8
* Server bundle updated to
2006 Feb 14
20
Adding payment to an app: how hard and risky is it?
Hi all.
I have never implemented online payment and it''s the only thing that
keeps me from accepting a project for a UK based client. (I must reply
quickly!)
While I can afford spending an extra week - or 2 - to learn/try/tune the
payment system, I must be sure to succeed before I accept the contract.
If you''ve already been through that path, any hints, links and/or
2005 Dec 16
4
Parent Child together in input form
Hi all,
I understand how rails is supposed to work when dealing with one entity
input form.
However, when I have a relation between two objects (composition):
Customer(1) --------> (1)Address
How can you create a inputform where both the properties of a Customer and
Address can be filled in?
Regards,
Harm de Laat
_______________________________________________
Rails mailing list
2006 May 17
13
Using NTLM for S.S.O. in Rails
Greetings all,
To all the good souls that happen to know NTLM and Rails....
Short version:
--------------
- I''m looking for server code to extract credentials through NTLM dialog
with the client (IE)
- I found nothing usable/useful (as they both implement the client side
code) in
- rubyntlm on rubyforge
- lib ntlm-ruby by Jonathan Bastien-Filiatrau
LONG version:
2005 Dec 16
6
managing belongs_to fields in a form
Hi all,
I cannot find a clean way to create/edit an object that ''belongs_to''
another one, just by using form fields.
I always need to explicitely unassemble it, store the master id in a
hidden field, and then refetch the master from its id, and put it back
in the object.
To summarize:
I want to create a new member, for a given project
@project= ...
@member =
2006 Jan 23
15
Looking for DB/Model Design Suggestions
Hi,
I''m working on an app - my first Rails - and am looking for some
suggestions on the best way (or good way) to set up my models / DB. In
general there are teams and matches; a team will participate in multiple
matches, and in each match there will be 6 teams - 3 vs. 3.
I''m going to want to be able, for a particular team, pull up all matches
for that team, to display a
2006 Mar 19
38
Macbook for Rails Development
Hi All,
I''ve finally got fed up of struggling with Windows and am on the verge
of splashing out on a Macbook for Ruby/Rails development. I''ve seen
DHH''s post about it on loudthinking but I wondered if anyone else has
any more wisdom...
Is it worth it over a powerbook? Any tips on good OSX apps for Rails
dev (textmate, i know already)? Anything not working well on
2005 Dec 23
2
getting changes
I was having some problems, which are fixed with #3331 & 3332. I have no
idea how to get these changes. Do I have to wait for a release? What is the
time frame? Any help understanding the process would be very helpful.
Thanks,
Steven A Bristol
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of
the rails libs if it exists in the vendor directory, or do I need to
tweak something else to pick it up?
Thanks!
-Theo
2007 May 27
3
Mac setup issue
I just installed an updated set of tools (ruby, rails, etc) under my
home directory for my mac 10.4, since I did not want to disturb the
pre-installed environment in case something in the system relies on
that. The problem I have is that the rake command is still using the
old stack rather than the new one, even though the new rake is there.
I presume the ''rake'' command itself
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2006 Feb 11
6
Rails 1.1?
I have a few very basic questions.
Is anyone using rails 1.1?
How/Where can I get Rails 1.1 (I don''t see it on RubyonRails.org?
What are the issues involved in moving from Rails 1.0 to Rails 1.1?
If I move to Rails 1.1, can I downgrade? Just curious.
Thank you very much for your assistance.
Frank
---------------------------------
Yahoo! Mail
Use Photomail
2005 Dec 16
2
Edge Rails Instructions out of date?
hello all,
I currently have Rails 1.0 installed, and was hoping to get the latest
edge rails. Following the directions found at:
http://wiki.rubyonrails.com/rails/pages/EdgeRails
I ran the following command:
rake freeze_edge
The command ran without a problem. When I went to update my
application, however, by running the following command:
ruby
2007 May 16
7
bilingual site: exclude fields set from query
Hi all,
Is there a way to have searches no use some indexed fields, when
processing a query?
context:
I have a model Foo that holds some information in two languages :
- text1_nl, text2_nl, text3_nl
and
- text1_en, text2_en, text3_en
Some other fields are common to both languages and indexed as well
- first_name, last_name
Depending on the visitor language choice I need to exclude the
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
Hi All:
I''m writing my 1st Rails app and I can''t seem to find the answer on
the web or in the book.
I''m making a table, and I want to be able to expand a filename. The
code is basically as as follows below. In the last <td> entry, I want
to call an action and pass in the test_results_path, which I will go
and read a file and munge the data for a separate
2006 Jan 01
11
Can rails make use of accesskeys?
I added :accesskey=>"D" to the html options hash of my link_to tag
but nothing happened.
Should I keep trying or is this not an option yet?
bruce