Displaying 20 results from an estimated 1000 matches similar to: "Intergrating delicious?"
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 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 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 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 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 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 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 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 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" =>
2006 Jul 09
3
Automatically post del.icio.us to Typo
Hello,
Does anybody know how to make the following tutorial work on Typo?
http://theory.isthereason.com/?p=499
Thanks!
Jonas
--
Posted via http://www.ruby-forum.com/.
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based
on a certain tag. This was working fine for about a week - I just
visited my site, and each time I visit, it keeps adding the same 6
bookmarks below the current 6. So, everytime you navigate throughout
the site, it adds 6 bookmarks to the last (but it''s the same list over
and over).
I have a function
2006 Apr 23
5
Newbie Ajaxy Question
Hi all,
I''ve been trying to figure this out by myself and while I feel I''ve made
some progress, I feel kind of stuck. Let me see if I can explain what I''m
trying to do. I have a very simple form with a text box and a text area.
The text in each of these will eventually make it into a row in a table in
my database. For now, the value in the text box represents a
2004 Jan 04
1
Samba 3 and W2K3 AD intergration problems
All,
Have already got Samba 3 and W2K Ad intergrating working in production
without any problems.
I have set up a test domain to test W2K3 and Samba3 on a Red Hat 8
server.
I did the following:
* Have set up the NTP Daemon to synchronize time with the W2K3 domain
controller.
* installed the latest Kerberos packages for Red Hat 8, maid sure that
krb5-workstation is installed.
* installed the
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 09
6
[Prototype] Ajax.Request include form fields?
Hi,
Is it possible to submit my form (or part of my form) with an ajax
request? I had been using dojo to do this, but having just read up on
the prototype library, I think I''d rather use prototype. The one
thing I don''t see (maybe I''m just missing it) is the ability to submit
my form (actually just parse through an element and include all inputs
as request parameters)
2012 Feb 17
0
Charging for intergrating Xen-3.2.0 source code in commercial product?
Hi Everyone,
I compiled Xen-3.2.0 source code and setup it on CentOS in an appliance box. My application sofware is running on three DomU. As far as I know, Xen follows GPL. If I sell my software together with the whole appliance box as a server, need I pay money for using Xen source code? I haven''t change any Xen source code, just built it and using it.
Thanks in advance!
Regards,
2008 Oct 29
1
Intergrating vicidial with trixbox
Hello,
I am searched the net for tutorials on how I can Integrate vicidial with
trixbox. I can't find any. Anyone who knows where I can get one?
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jnmutuku.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url :
2006 Apr 07
6
Magic Field Names - "position"
What does the Magic Field Name position do?
I was looking here:
http://wiki.rubyonrails.com/rails/pages/MagicFieldNames
And unfortunately that documentation is incomplete.
Thanks.
--
Posted via http://www.ruby-forum.com/.