similar to: problem POSTing with curl and REST using scaffold_resource

Displaying 20 results from an estimated 500 matches similar to: "problem POSTing with curl and REST using scaffold_resource"

2004 Mar 08
2
a question on CSV file
I have a csv file, heartrate excercise medicine Time 12 0 0 4:30 am 23 5 0 5:00 am 34 6 0 5:30 am 56 3 0 6:00 am 24 12
2011 Oct 13
2
Help with R plots
Hi all, Mind my ignorance and complete newbiness, but I am very new to R and am currently learning it through my stats course at university. My question is regarding adding titles to plots. I'll post the code below, and then explain my issue: > hist(gender$HeartRate) > title(Histogram: HeartRate distribution for Temperature Data) So what R has done, is paste over the title I entered
2010 Nov 29
1
Filling in missing time samples with na.approx
Hi Everyone, I have a some data from a sports gps device like the following: time latitude longitude altitude distance heartrate 1 1277648884 0.304048 -0.793819 260 0.000000 94 2 1277648885 0.304056 -0.793772 262 4.307615 95 3 1277648888 0.304060 -0.793696 263 11.262347 97 4 1277648894 0.304075 -0.793544 263 25.237911 103 5 1277648898
2007 May 04
5
Something wierd with .save method
Hi, I have a very sime app. I need to create as many records in the db as the selected checkboxes (named :isselected) in the view. Here is the code snippet from the controller: isselectedhash = params[:isselected] for mod in isselectedhash.keys @issue = Issue.new(params[:issue]) @issue.state = ''NEW'' @issue.mod_id = isselectedhash[mod] # this gets
2006 Oct 06
1
8th method for scaffold_resource
I was reading a blog where at RailsEurope David spoke about adding a "search" method into the scaffold_resource. Anyway I haven''t seen anything else on it and wanted to know if there is any more information someone here could share. Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2006 Oct 27
1
scaffold_resource should create specs instead of tests
Is this in the works?
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello, I am building an Rails applications that has to integrate an legacy system (lxoffice) (schema at: http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf). They somehow use global ids (global for some tables). I can not change the schema and still I want to use Rails to access it and not pure SQL. When I try to insert a record I get the following message:
2008 Jul 19
3
PolarProTrainer
Program for heartrate registration devices and training programs made by www.Polar.fi Only to be used in Windows. But . . . The program delivered on the Polar product CD is outdated. Wine 1.0 in Ubuntu8.04 is able to open it But . . . The buildt in updatedevice over the internet do not funksjon. All I get is red cross over a logo appearing a short time on the bottom line. The Wine 1.1.1 may
2009 Feb 25
3
Saving rich text to the database
I''ve started trying to use the wysihat rich text editor from 37- signals and everything is going well except that I get an error when trying to save the text from the enhanced field to the database. This is from my log: Processing InstructionsController#new (for 127.0.0.1 at 2009-02-25 06:04:57) [POST] Session ID: BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
2008 Sep 29
4
RJS is not loaded
Hello, I have here an issue which is really critical for me (it for my university work and I would like to not delete this feature). It based on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the refreshment (adding content or records) of an div via RJS/JS. I access the RJS via (Controller): respond_to do |format| format.html { redirect_to :controller =>
2007 May 22
5
rails edge
hi, first time trying rspec, and rails edge. Are there any known issues running rspec with rails edge? for one, apparently script/generate scaffold_resource has been renamed just "resource". Do I just search/replace "scaffold_resource" with "resource" in file rspec_resource_generator.rb ? Somethings still missing. before i get "Couldn''t find
2006 Nov 03
10
[PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
rspec_resource_generator ======================== By Pat Maddox Use this generator to generate RESTful scaffolding with RSpec specifications. Syntax is exactly the same as the scaffold_resource generator: ./script/generate rspec_resource ModelName [field:type field:type] When you run this generator, it will create a migration, model, and model spec file. In addition, it gives you a RESTful
2007 Mar 30
7
Some additional attacks on Cookie Session
Aside from the replay attacks discussed, there are some other attack vectors on the cookie_session store. I appreciate (and admire!) Jeremy''s good humor on all of this: > Planting the seed here led to quick ripening and plenty of pesticide. > Thanks for the fish, all. > > jeremy Anyway, here''s what we came up with: 1. Brute Force SHA512 can be computed _very_ fast.
2006 Nov 06
21
acts_as_ferret and associations
I have the following models: class Book < ActiveRecord::Base acts_as_ferret belongs_to :author end class Author < ActiveRecord::Base has_many :books end and in the controller: def search if params[:query] @query = params[:query] @total, @books = Book.full_text_search(@query, :page => (params[:page]||1)) @pages =
2007 Oct 15
3
Spec::Rails::DSL::HelperEvalContextController: missing defau
Just created a new project and this is the error that I am getting when I try to run my rspec tests: Spec::Rails::DSL::HelperEvalContextController: missing default helper path spec/rails/dsl/helper_eval_context_helper Spec::Rails::DSL::ViewExampleController: missing default helper path spec/rails/dsl/view_example_helper [4;36;1mSQL (0.000138) [0;1mSET SQL_AUTO_IS_NULL=0 [4;35;1mSQL
2007 Jan 10
0
nested resources with nested controllers
Is there a way to create resources that work with nested controllers? For example: ./script/generate scaffold_resource project name:string mkdir app/views/layouts/project # so the command below doesn''t complain ./script/generate scaffold_resource project::user name:string # routes.rb map.resources :projects do |project| project.resources :users end After creating a project
2003 Sep 17
2
help jeremy
* compiled from cvs, i am trying call ip phones in callmanager 3.2 10.17.0.2 is my callmanager i noticed from network dumps that instead of sending rtp to the ip phone, * sends it to 10.17.0.2! thereby causing no audio from * to ip phone. audio from ip phone to * is ok. only callmanager calls fail. netmeeting works ok... here is the debug, thanks for any info ~kelvin H323 debug enabled --
2005 Dec 17
0
Passing multiple parameters with select-option to controller
Hi all, I''m using Windows Xp, Mysql 5, Webrick, Rails 1.0 I''ve 3 tables which have HABTM relationship. My tables names are all set to uncountble. Name of tabels are anabilimdali (includes department info id name etc.), ogretimuye (personel information like id , name , dept. ) yayin (document information), and for relationships yayin_anabilimdali , yayin_ogretimuye . The
2007 Feb 01
12
RESTful Rails and other musings
Hi all, I would first like to introduce myself to the Ruby on Rails (RoR) community and to say that I hope to begin to build some relationships with other RoR developers. I''m a long time Java programmer (5+ years). Java was my first experience with Object Oriented Programming (OOP). Before Java I developed using many other languages including C, Pascal, Fortran, BASIC, Visual Basic,
2007 Dec 06
3
number_to_currency
I am using the number to currency function because i live in the uk and the company want me to only show values of the pound of course.I have created all my application using ruby script/generate scaffold_resource.... I have come across with a problem... this code is in my applcation: def number_to_currency(number, options = {}) options = options.stringify_keys precision, unit, separator,