similar to: ActiveRecord: Behavior not doumented

Displaying 20 results from an estimated 300 matches similar to: "ActiveRecord: Behavior not doumented"

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 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 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 07
4
How to generate mapping with migration
Hi there, I''ve tried to add a m:n mapping table using the migration mechanism. ruby script\generate migration add_categories_notes_mapping and filled the migration file with: class AddNotesCategoriesMapping < ActiveRecord::Migration def self.up create_table :categories_notes do |t| t.column :category_id, :integer, :null=>false t.column :note_id, :integer,
2007 Sep 10
2
syntax II
Hi Given the warm response to the syntax additions in 1.9.1 I''m considering moving one or two more syntax extensions into core, and would like your thoughts. Last ones, I promise. Realise we don''t want much more API change now, but also we''ll probably also have to live with whatever we settle on for 2.0 for a little while, so... 1) Setting up event handlers In
2010 Aug 19
1
Composite primary keys and :joins=>
I have a legacy db with the following simplified structure: Table-A: type_key, code_key, name, ... # PKs are type_key and code_key, there is no id col and I cannot alter this db Table-B: # each row has only the code as a foreign_key, the type_key is hard-coded to "FOOKEY" an_id, code, ... Models: class TableB < AR::Base set_table_name ''table_b''
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 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.
2007 Dec 04
7
REST bug with form_for
Hi all, I am running on Windows XP sp2 with ruby 1.8.6, and rails 1.2.3 I am using REST, and have this in my view <% form_for(:project, :url => project_path(:user_id => @project.my_user, :id => @project), :html => {:method => :put}) do |f| %> The browser correctly gives <form method="post" action="/users/2/projects/1">
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,
2007 Sep 17
7
Re : syntax II
Alex Fenton wrote : >1) Setting up event handlers > >In most real apps, I think the most normal way to set up event handlers >is for the event to be dealt with by a corresponding method. At the >moment this has to be done using a block: > >evt_button(AN_ID) { on_button_click } >evt_button(my_button.get_id) do | event | > on_button_click(event) >end >evt_size { |
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
2007 Sep 15
2
wxRuby 1.9.1 and id accessor consistency problem
Hi all, wxRuby 1.9.1 introduced great Rubish style accessors (x.label as a synonym for x.get_label). I just found that get_id has no corresponding Rubish style id accessor. For a CheckListBox or a StaticText (I haven''t checked for other kind of controls), id just returns the Ruby object_id. This is very confusing and not consistent with other accessors. Chauk-Mean.
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.
2019 Oct 07
2
Is imap "list" required before imap "select" for shared folder?
I set up a shared mailbox with dovecot and it basically works. However, before I can imap SELECT or STATUS the shared mailbox I have to first do an imap LIST, i.e, . list "" * If list is not done first, the imap select or status command on the shared mailbox results in a "NO" response with "mailbox doesn't exist" response text. I can provide more
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).
2006 Feb 14
6
Rails on Sun
Hi Everbody, I''ve got a potential idea for introducing Rails to my company. My only shot at this is to minimize what our Ops guys would have to install and configure to get this up and running. Right now, our servers are Solaris boxes and we are using Sun ONE as our web server. Anyone got Rails running in this environment? Also, has anyone got Rails talking to Oracle databases?
2009 Aug 18
4
Remove columns
Hi Everbody Could somebody help me.? I need to remove the columns where the sum of it components is equal to zero. For example > a<-matrix(c(0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,1,0,0,1,0), ncol=4) > a [,1] [,2] [,3] [,4] [1,] 0 0 0 1 [2,] 0 1 0 1 [3,] 0 0 0 0 [4,] 0 1 0 0 [5,] 0 0 0 1 [6,] 0 0 0 0 Columns
2009 Feb 03
2
New York Times - R - article a fraud?
I worked on some ad data before and I found NYT article very biaised and not far from a fraud... Anyone knows if they got money from a - company - to play 'R'? Check out the title: R U Ready for R? Seems to me this title was stolen from XLSolutions www.xlsolutions-corp.com and they never mentioned XLSolutions in the article! They mentioned commercial R....never mentioned