Displaying 20 results from an estimated 2000 matches similar to: "Inline editing of datetime and dropdown select objects?"
2006 Feb 21
7
Self-referencial habtm relationship
Heyo!
I am setting up a self-referencial habtm relationship with the users
of my app. I am using Chad Fowler''s "Rails Recipes" to get me started,
and everything works great with the join table "people_friends". I add
friends by doing somebody.friends << somebodyelse. However, with my
app, there is an approval process so my join table has columns
person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she
has an STI...
Actually, I currently have three different models, like: Dog, Whale, Monkey
They all have some similar attributes, but, they are unique enough to
break into their own models. I could use STI, but I think the table would
just have too many columns.
Now, I wanted to let the Dog''s, Whale''s
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations
recipe. Everything seemed to work except for the last part in trying to do
a rake migrate with a migration file version 1 and the schema_info version
set to 0. Without the force attribute, the rake migration fails, as
expected.
So the recipe says to run this:
ruby script/runner
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes,
is now available
as a Beta Book.
This is a great title for folks who know Rails, and for folks who
want to get the most out of Rails. It contains detailed recipes for
doing real-world things with Rails, all illustrated with working
code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and
then used wget to look at the output the RJS template generates. This is
what I got:
try {
new Insertion.Bottom("list", "<li>Fox</li>");
new Effect.Highlight("list",{duration:1});
Element.update("header", "RJS
2006 Apr 18
2
Implementing Globalize
Hello all,
I was wondering if any of you know some good documentation that
points out how to implement the Globalization plugin in your existing
application.
Also some text on how to use a cms like system with Globalization
(how to handle the population of the translated texts per item for
example)
With kind regards,
Gerard de Brieder.
Govannon.
tel : +31624739047
2005 Dec 21
3
Best Practices???
Has anyone come up with a list of best practices for App design using Ruby
On Rails?
John McClain
Senior Software Engineer
TCS Healthcare
jmcclain-RI2jYlfFOOy2dUpmj6OxPQC/G2K4zDHf@public.gmane.org
(530)886-1700x235
"Skepticism is the first step toward truth"
2007 Oct 25
1
Problem with Oracle
Hi,
Normally I''m using Rails with mySql but for the moment I''m trying to
make a Rails/Oracle solution using oci and instantclient, but I''m
having a problem I receive the following when doing a select
Exception string : undefined method `empty?'' for 1:Fixnum
does anybody know a solution to this.
kr
Torben
2006 Feb 21
1
[ADV] Next beta of Rails Recipes is available
The second beta of Rails Recipes, Chad Fowler''s killer book or
writing real-world Rails, is now available.
It features seven new recipes:
* In Place Editing
* Making Your Own JavaScript Helper
* Many To Many With Attributes On The Relationship
* Dealing With Time Zones
* Living On The Edge
* Making Your Own Rails Plugins (contributed by Rick Olson, aka
technoweenie)
* Polymorphic
2006 Jul 20
3
Ruby beginner..
Hi All,
I am a java developer. I wanna learn Ruby on Rails. Can anyone suggest some good books on Ruby or some url where can I learn the basics of Ruby.
Thanks,
Prabhu.
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 09
13
Howto work with a page not generated by the scaffold ?
I am a newbie Ruby and RoR user. In my tests using the turorials that
I found over the web, everthing is working fine and I am very impressed
about RoR framework.
As I am a Delphi developer, without any web development experience,
There is some thing hard to understando and I didn''t find a tutorial
about this.
I wonder how to create a non-scaffold page ? I have customers,
2006 Mar 05
3
SQL Query for related entries based on tags
Can anyone help me out with a SQL query to pull related entries based on
tags?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 08
2
helpers and plugins
First a helper...
Have a boolean field - on forms, it returns ''true'' or ''false''
It would be much nicer to have it say either ''yes'' or ''no''
is there a helper for this?
Where do I find a list of helpers beyond Agile book?
Secondly, plugins...
I know that I am going to have to look at authentication mechanisms and
2006 Jan 29
2
GetText and rjs templates?
hi,
is it possible that gettext don''t work with rjs templates?
i''ve just tried this simple example
blog_controller.rb :
class BlogController < ApplicationController
def index
end
def dosomething
end
end
index.rhtml :
<html>
<head>
<%= javascript_include_tag :defaults %>
</head>
<body>
<div id="test">Some text to change
2006 Mar 16
1
[ADV] New Beta of Rails Recipes available
Folks:
The fourth beta of Rails Recipes, Chad Fowler''s book or writing real-
world Rails,
is now available.
It features nine new recipes (and fixes the PDF bookmark problem):
- Secret URLs
- Integration Testing
- Cheap And Easy Theme Support
- Lightning Fast JavaScript Auto Completes
- Use Active Record Outside Of Rails
- Sharing Models Between Applications
- Keeping Track Of Who Did
2006 Aug 06
1
Newbie: populate 2nd dropdown list based on user''s selection in 1st dropdown list
Hi,
I am creating a form that a user can post a message based on his
selection on category and subcategory. (A category has many
subcategories.)
How do I dynamically populate subcategory dropdown list when user
chooses a category from category dropdown list?
Thanks in advance.
--
Best regards,
Ming Ma
2006 Apr 25
3
RoR book for beginner
Hi folks,
I see there are two books recommended on the RoR website. As usual I would like
some recommendation from users on this matter.
I am currently a .NET developer and familiar with a few languages outside of
.NET. Which one of these books would be suitable for me to get started with
end-to-end development? Or can someone perhaps recommend a different book they
found useful?
Many thanks,
2006 Jun 05
2
dropdown
I''m using a dropdown on my form for a simple cms which displays the
pages from the database. I want to add some options to the dropdown
that are not in the database. Is there a way to do this?
Here''s my code so far:
<p><label for="navigation_link">Link</label><br/>
<%= select("navigation", "link",