Displaying 14 results from an estimated 14 matches for "cardologist".
2005 Dec 23
3
Intergrating delicious?
Whats the best way of intergrating del.icio.us into a RoR app?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 21
4
Models, Helpers, Modules, etc.
Hello,
I am learning rails and ruby and I have some questions about how should I go
about doing certain things.
[1]Many of my models have some functionality which is common, and instead of
duplicating it across models, I want to store it in a single file, and then
import the file into the models. Should I do this using modules, and then store
them in the `lib'' directory? What is the
2006 Mar 15
10
Scaffold with Foreign Key
I have two tables:
------------------------------
drop table if exists users;
create table users (
id int not null auto_increment,
username varchar(100) not null,
password varchar(20) not null,
firstname varchar(20) not null,
lastname varchar(20) not null,
primary key (id)
) TYPE = InnoDB;
------------------------------
drop table
2006 Apr 08
2
ToDo list examples?
Hi guys,
im guessing if there?s around a ToDo list example with categories using
actual code(1.x) cause every example i found its about 0.x and its hard
battle against deprecated code, that way i can see the basic of rails
and tables relatios.
Regards ;)
--
Posted via http://www.ruby-forum.com/.
2006 Mar 03
2
voice recording with ruby/ rails
hi all
whats there in store of ruby/rails to support voice recording feature ?
thanks
rohit
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/44230a4b/attachment.html
2006 Mar 12
2
Strange error: undefined method `rewrite''
Hi,
when I generate a new rails project with a simple scaffolded controller,
I get a strange error message, whenever it tries to call the url_for
method, for example:
,----
| undefined method `rewrite'' for #<Url:0xb7675e64>
|
| Extracted source (around line #7):
|
| 4: </p>
| 5: <% end %>
| 6:
| 7: <%= link_to ''Edit'', :action =>
2006 Mar 31
5
Changing Table Schema and Models
If I make a change to a database table, how do I recreate the model to
reflect the change?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
1
Tests not picking up table name changes.
I have a model called Index, but the table is called Index. So in my
model, I have
ste_table_name ''index''
But in tests the fixtures are called indices, so I renamed it and
changed
>>fixtures :indices
to
>>fixtures :index
When I try use index(:first), I get a nil error. I don''t know what Im
doing wrong.
Thanks
Joey
--
Posted via
2006 Jan 31
2
NameError/Unitialized Constant With PayPal Gem
I am trying to use the PayPal gem and having a little trouble.
I installed the gem w/o any trouble:
paypal (1.0.1)
Paypal IPN integration library for rails and other web applications
When I try to use it in my controller, as follows:
def paypal_ipn
notify = Paypal::Notification.new(request.raw_post)
...
end
I get a NameError:
uninitialized constant Paypal
This error occured
2006 Mar 25
3
Rails Plugins: Why to register your own functionality with send()?
Hi there,
I have seen in the file column plugin (
http://www.kanthak.net/opensource/file_column/) from Sebastian Kanthak or
David''s acts_as_taggable plugin that to register my functionality I need to
do something like this:
ApplicationHelper.send(:include, InPlaceEditAssociations)
I am wondering why not:
(a)
module ApplicationHelper
include InPlaceEditAssociatons
end
or:
(b)
2006 Mar 09
2
turn off auto increment
Hello,
I have an old table that handles sessions. the primary key is a field
called session_id and is the actual session id like "8df838303ufdfu838"
however when i do the following in the model:
set_primary_key "session_id"
and the following in the controller:
@session_hash = { "session_id" => @session.session_id, "session_user_id" =>
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable
item and then detect the coordinates where it is dropped. So my first
approach was to just use the draggable_element with :revert => false, like
so:
<%= draggable_element "my_element", :revert => false %>
That works great and lets me drag stuff all over the place. In the
scriptaculous
2006 Mar 28
5
combining two models in one controller/view "set"
I''m going to take another stab at this question (my first one received
no replies):
I have two models:
Author
has_many: books
Book
has_one: author
I have two tables:
authors
id
...
books
id
author_id
...
I let the scaffolding fly and it created the CRUD goodness for each
model, as expected.
However, I want to have only one view/controller "set" for both
models; when I
2006 Jan 07
2
Before filter...
I have a before filter in my application.rb, for every action and
controller it gets run, except for one action. How can I see whats going
on? And why it doesnt get run?
Thanks
joey__
--
Posted via http://www.ruby-forum.com/.