Displaying 8 results from an estimated 8 matches for "project_path".
2010 Mar 11
1
Statet on Eclipse: ${project_path} is empty
Hello,
I'm tryign to use Statet on Eclipse on my Kubuntu Karmic PC. I've set
everything up and I can start the R configuration, but the working
directory is set to my home directory. If I set the start in directory
to ${worspace_loc}/${project_path} I can't start the console, with an
error that project_path is empty.
Am I doing something wrong. I feel that Eclipse and Statet will be the
best way to use R, but it's so hard to setup at the moment.
Regards,
Paul.
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">
<div style="margin: 0pt; padding: 0pt;">
<input type="hi...
2006 Oct 18
1
observe_field, GET method and RESTful controllers
...he observe field to call a show action on a restful
controller. However I am unable to do so because I cannot get the damn
thing to use the get request properly. If I use the following:
<%= observe_field("project_selector", :update => "project_selector_div",
:url => project_path, :with => "''id=''+escape(value)") %>
then the POST method is used and the controller thinks I am trying to
create a new record.
If I do the following:
<%= observe_field("project_selector", :update => "project_selector_div",
:url =>...
2010 Dec 03
2
Routing issue
HI,
map.connect ''/ads/'', :controller=>''ads'', :action=>''index''
map.connect ''/ads/:id'', :controller=>''ads'', :action=>''show''
The above two lines i am using for routing in my application to show a
list of ads when i visit at http:\\localhost:3000\add
and an add with the id when i
2008 Jul 23
0
Link_to_remote object missing
Hello, I''m in troubles trying to use ''link_to_remote'' on Rails 2.1.
Having this page:
<h4>Editing project</h4>
<% form_for(:project, :url => project_path(@project), :html =>
{ :method => :put }) do |f| %>
<p>
Name <%= f.text_field :name %>
Date <%= calendar_date_select :project, :target_date, :time =>
false %>
<%= image_submit_tag(''accept.png'', :alt => "Update&quo...
2006 Aug 01
2
restful controllers - howto nest with link_to?
Hi List,
I''m trying to get my grip on the restful methods that are now part of edge
rails.
Making the first steps was impressive as well as easy because there are
already great resources on the blogs of early adopters:
http://www.ryandaigle.com/articles/2006/08/01/whats-new-in-edge-rails-simply-restful-support-and-how-to-use-itand
2006 Nov 04
4
how to get observe_field to use GET method?
..._selector", :update => "main", :url => {
:controller => "projects", :action => "show"}, :with =>
"''id=''+escape(value)") %>
I have successfully set-up a link_to_remote so that it works (although I
had to replace the project_path URL with the :controller and :action) as
you can see above however I cannot for the life of me get the
observe_field to work. (Putting :method => ''get'' into the :url hash
doesn''t work)
Looking at the API there is no html_options specified in the observe
field meth...
2016 Jun 20
6
RFC: Comprehensive Static Instrumentation
Hey David,
Thank you for your feedback. I'm trying to understand the model you
sketched in order to compare it to CSI's current approach, but the details
of your proposal are still fuzzy to me. In particular, although the model
you described would avoid using LTO to elide unused hooks, it seems more
complicated for both tool writers and tool users to use. Please clarify
your model and