Displaying 20 results from an estimated 900 matches similar to: "How to generate mapping with migration"
2006 May 30
2
Plugin install using version
Hallo,
after I found an bug item for my active_rbac problem on windows using
ruby one-click last stable (1.8.2 I guess), there was the rant to
downgrade to engines-1.1.1.
I successfully installed engines-1.1.2 and removed it by
ruby script\plugin remove engines
I tried
ruby script\plugin install engines-1.1.1
in the gem way of handling versions but that didn''t worked.
Any idea
2006 Apr 10
5
ActiveRecord: Behavior not doumented
Hello everbody, doing a
#find(:first,an_id)
with Rails 1.1.0 I expected that find returns the record which id mathches the
given parameter an_id or nil if it couldn''t be found.
This behaviour is documented on api.rubyonrails.org.
But the find returns the first available object and not nil if an_id is not in
the db. Is the doc on rubyonrails.org out of sync?
Greetings,
--
Daniel
2006 May 29
1
Engine: Active_RBAC not working, missing require
Hi there,
I try to install the active_rbac plugin as described in the manual on
the active_rbac trac site. The installation through the plugin script
was great:
ruby script\plugin discover
ruby script\plugin install engines
ruby script\plugin install active_rbac
I set up the environment.rb in rails\config dir correctly to
Engines.start :active_rbac
But if I try a rake db:migrate:engines
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi!
I try to get AJAX running on a mobile Windows Mobile 5.0 based device
and failed. There should be a JavaScript support but nothing happens.
Have any of you experience with the rails javascripts on a this platform
or are there any hints, documentation on the net?
tia,
--
Daniel V?lkerts
Protected by Anti Pesto.
2006 Apr 09
1
select helper question
Hi there, I try to develop a medical application using ruby on rails.
There are many categories which can contain subcategories.
I defined the model like this:
class Category < ActiveRecord::Base
has_and_belongs_to_many :notes
belongs_to :parent_category, :class_name=>"Category",
:foreign_key=>"category_id"
has_many :sub_categories,
2006 May 31
1
ActiveRBAC 0.3.2 Released
Hi
I am happy to announce the 0.3.2 release of ActiveRBAC Engine. The
only improvement on the 0.3.1 release is that it runs with Rails
1.1.2 and Engines 1.1.2 now.
Get your personal copy now from
https://activerbac.turingstudio.com/releases :)
There is a manual PDF with a tutorial available at
https://activerbac.turingstudio.com/releases/ActiveRbacManual.pdf
which is also included
2006 Jun 06
5
ruby mathematical expression parser
Hi,
Has anyone come across a Ruby mathematical expression parser, capable
of parsing out token, replacing them with values then executing the
mathematical formula? Nothing too heavy, A * (44/12) * ... etc. where
A is can be replaced with a value.
In Java there are serveral, like JEP, but I''d prefer it we could get a
Ruby one now we have moved over to Rails, otherwise we will have to
2006 Jun 09
5
ActiveRBAC?
How''s the experience with using ActiveRBAC? For my "next 4 days with
rails" :P I''d like to consider adding Role-based access to the To-Do
List application in the original "four days w/ rails" tutorial.
Just wondering if ActiveRBAC would be a good place to start? Thanks!
For those who are wondering: https://activerbac.turingstudio.com/trac
Cheers
Mohit.
2006 Feb 25
5
[Half-OT] PDA Clients and Rails
Hello!
I''d like to gather some points about running a rails application on a
PDA. As a condition I''d like to use Palm and Windows Mobile based PDA to
target a huge user audience (this could be become difficult I know,
only Windows Mobile for the start is although okay).
I googled the last weeks and found out that there were only a few web
browsers out there. E.g. Mozilla
2006 Jul 12
9
Instant Rails Screencast
I created a screencast showing how you can use Instant Rails to get a
fully functional Rails environment running on Windows in under 5
minutes.
Get started with Ruby on Rails in less than 5 minutes
http://mattgriffith.net/PermaLink.aspx?guid=97aa05b7-2e38-4c7d-b184-45ab2e2715b9
Right now the video is only available in Windows Media. Eventually there
will be a flash version available too.
2007 Sep 14
2
Testing nested controller
Hey everyone.
I really stuck on testing a nested controller. I''m trying to make a
request using get and afterwards checking the response by
response.should ...
My routes.rb looks like this:
map.resources :writers do |writers|
writers.resources :notes
end
In my notes_controller_spec.rb
def do_get
writer_id = 1
note_id = 1
get note_path(writer_id, note_id)
end
it "should
2007 Sep 14
2
Testing a nested controller
Hey everyone.
I really stuck on testing a nested controller. I''m trying to make a
request using get and afterwards checking the response by
response.should ...
My routes.rb looks like this:
map.resources :writers do |writers|
writers.resources :notes
end
In my notes_controller_spec.rb
def do_get
writer_id = 1
note_id = 1
get note_path(writer_id, note_id)
end
it "should show
2009 Feb 09
3
Michael Graves post
Michael Grave just posted a question about surround conferences.
http://www.facebook.com/notes.php?id=564633430#/note.php?note_id=5009726
3908&id=564633430&index=0
I didn't see it posted on the ast-list, what do you think? Does
something like this have potential?
I'd love to listen in on one of these calls to see how it actually
sounds if someone builds a trial
2006 Feb 20
1
belongs_to, has_one, has_many question (again?)
Hi All,
Probably this has been asked numerous times, I apologize already!
Can somebody point me to a good tutorial on how Rails works with
relations?
I know about database design and normalization, I also know about
programming in general (and OOP for that matter).
Only thing I can say is that I''m following the "Four days on Rails"
tutorial by John McCreesh.
He writes
2011 Mar 08
5
warnings from 2.0.11
During a stress test dovecot-2.0.11 logs many warnings:
Mar 8 06:19:52 gromit dovecot[59204]: imap(pid 68864 user user15): Warning: /Volumes/Mail/user15/dovecot-uidlist: Duplicate file entry at line 183: 1299556557.M571530P31883.gromit.example.com,S=21175,W=21549 (uid 67 -> 250)
Mar 8 06:20:10 gromit dovecot[59204]: imap(pid 68865 user user34): Warning: /Volumes/Mail/user34/dovecot-uidlist:
2007 Apr 19
1
Use of Markdown Extra in a forum
from : benoit at transmekong.com
to : markdown-discuss at six.pairlist.net
Subj.: Use of Markdown Extra in a forum
Date : Apr 19th 2007, 15:24:25 (GMT+7)
Dear all,
I have tried to implement PHP Markdown Extra in a forum (PunBB) and found that however well each message is translated, there are collisions when different messages in the same page have the same inside link names (footnotes, title
2005 Dec 12
4
Rails crashes over night?
I''m
running Ruby on Rails on Fedora Core 4 with lighttpd and fastcgi. I
also used the login generator (don''t know if relevant). I have the
following problem: At day time I work on the server and create/modify
ruby files on the server, all pages work fine. Than the next day I want
to open de server I get the error at the end of this message (on all
pages, including non protected).
2020 Feb 03
4
USB devices with same vendor:product id
Hi,
We have a VM with several USB devices attached. Everything works well, but sometimes, after a reboot of the host, some usb device get a different bus/device number and that prevent the reboot of the VM :
-------
error: Failed to start domain xxx
error: internal error: Did not find USB device 04b9:0300 bus:1 device:5
-------
I guess this is because we have multiple usb devices with the same
2009 Mar 16
2
Rsyncd and Environmental Paths
I have this in my rsync.conf
[backup]
path = /home/$USER/backup
use chroot = no
monge symlinks = no
uid = wendell
gid = wendell
read only = no
list = yes
auth users = wendell
secrets file = /etc/rsyncd.secrets
But rsync doesn't seem to interpret the $USER. I've also tried this with $HOME and '~' with no luck. I want to be able to back up to the
2006 Dec 29
3
Revised 2005 proposal for meta-data
Hello to all!
This is the revised 2005 proposal for meta-data, much more in detail:
http://maruku.rubyforge.org/proposal.md
http://maruku.rubyforge.org/proposal.html
http://maruku.rubyforge.org/proposal.pdf
I wait for comments.
At the end of the document, there are some open issues.
And I need a regexp wizard to look over the "grammar" section.
Cheers,
--
Andrea Censi