similar to: Use of Ruby Gem and Plugin

Displaying 20 results from an estimated 10000 matches similar to: "Use of Ruby Gem and Plugin"

2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping. I''m currently trying to follow the lessons available on www.learningrails.com. I received this error after trying to visit a page generated by using the scaffold command. Actually, this is all I did up until the error: rails sample2 -d mysql mysqladmin -u root -p create sample2_development ruby
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
I''m trying to use new_equipment_path, which creates the appropriate link. But, when trying to evaluate "equipment/new" I get the error below. I''ve included my routes (rake route). Equipment is one of those words that pluralizes to "equipment", so the singular is right (from what I know from this forum. Any help would be appreciated. Error: equipment_url
2010 Jun 05
6
How do you update HABTM relationships or create.
Hi, I have a User model with a HABTM relation to a Role model and vice versa. So There''s a roles_users table that references :user and :role. I''m using formtastic, and in the user.edit.html.erb I have a line that outputs the roles as a multi-select list box. But the box is not showing the roles that have been assigned to the users. Another problem is that if I select a few
2009 Jul 17
3
how to get "www.site.com/user1" address
Hi, I am a newcomer to the Rails Front. Currently reading chapter 17 of Agile Web Development on Rails. But a burning question, that I would appreciate anyone being able to verify for me! Here goes: What I am hoping of trying to build is a site where I can have a page for individual entry in the database. So if it were users: I wanted to have a page in the the format: www.example.com/user1
2009 Aug 06
13
Redirect after login
Hi, I''m new to Ruby/RoR so please bare with me! I''m trying to adapt a ruby setup where someone logs in to a bonjour service via a web browser. I have the login screen which asks for host and password. There is only one user per host and i can log in fine. It''s suppose to redirect me to /list in my browser but doesn''t. Once i''ve entered the correct
2009 Oct 01
3
Using Ruby on Rails to edit a script?
Is ROR a good fit if I want to edit and expand on a developed script like RoundCube( http://roundcube.net/ )? I''m planing to edit it for my business as an order/transcript application. If anyone is interested this link is what I want to make. http://handoff.wordpress.com/
2008 May 20
3
gem and pluggin
Hi This is a general question.What is the differnece between these ?Why I am asking such a question is i am using will_paginate pluggin..Now it is available as gem..So is there any performance (stability and speed of execution) difference? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2010 Jun 11
2
Problem using Ruby On Rails with rspec to write user stories
Hej out there, i''m a newbie on ror and im trying to install rspec on my computer. I installed rspec an rspec-rails via gem. when i''m running the file script/generate rspec it works. but i have no folder called stories.... how can i fix this problem? thanks... hope to get some help;) -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 Apr 27
4
longevity of ruby on rails
Hi, I have recently added Ruby on Rails to my repertoire and as I start a new project, I find myself wondering: Why are so many of the postings I find as I search for help from 2006-2009? Should I start my new project with RoR, ASP.NET, Python/Django, Zen? Is RoR thriving or dying? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 Jan 29
4
requiring records in the DB before testing
Is there any way I can require a small set of data be in the test database before any tests are run? (unit, functional, integration, cucumber, etc) Any way besides using fixtures, that is. Overload a rake task? Modify test_helper? Any ideas? (Simple Case: I have to have a minimal set of user roles defined before any users can be created) -- You received this message because you are subscribed to
2009 Aug 06
6
initializers
I created a "config/initializers/tasks.rb" In it I have the following is all: logger.info("Running tasks") However nothing is logged or run. Am I missing something? -- Posted via http://www.ruby-forum.com/.
2010 Apr 23
2
Blog ruby on rails/Django Fastes made
Hi I''ve got a little quetion. For school I''ve to make a blog either using ruby on rails or Django. I''ve to do this at home, install the languages, etc. I''ve to make screenshots while running the language and blog. tell why I chose that language and the files i made for the blog. What would be the fastes way to do this?? Thanks a lot already -- Posted via
2009 Sep 01
9
Ruby on Rails Project Opportunities
Hi I am currently recruiting for a number of freelance contracts and permanent internal positions, both junior and senior, for Europe''s largest and most dynamic Ruby on Rails development projects, offering the chance to work alongside some of the industry''s leading figures in the Web 2.0 development community. Selected locations include Germany (eg Berlin, Munich, Hamburg,
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks, when I try to do something like: define railsproject($name, $uid, $gid, $userpass, $sqlpass) { mysql_database { "$name_staging": ensure => present } mysql_database { "$name_production": ensure => present} ....more stuff... } I get: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Mysql_database[] is already
2013 Apr 30
2
dovecot antispam plugin is not woking
?Hi All, I am using dovecot? version 2.0.9 DSPAM Anti-Spam Suite 3.10.2 (agent/library) ClamAV 0.97.7/17102 and dspam antispam plugin ?dovecot-antispam-plugin-43880985e3dd and plugin configuration is given below: protocol imap { ? mail_plugins = " antispam autocreate" } protocol pop3 { ? mail_plugins = antispam autocreate } plugin { ? antispam_allow_append_to_spam = YES ?
2010 May 12
3
Best Gem For Threaded Comment Storage?
Dear List, Given that I am developing a rails 2.3.5 site, When it comes to storing threaded comments in a blog or forum, Then which plugin/gem should be considered "State of the Art"? I''m starting with these URLs: http://github.com/rails/acts_as_tree http://github.com/rails/acts_as_nested_set http://github.com/collectiveidea/awesome_nested_set
2009 Jun 02
3
valdate_presnce_of email, :if => :validate_id + Factory girl
Hi In the model I have User attr_accessor :validate_email_id validates_presence_of :email ,:if => :validate_email_id Could anybody please tell me how can I define a Factory for the above? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
2009 Aug 03
5
webcam image capturing
Hi Could anybody please advice me to work with wecamera in Rails. What i want to do is to capture webcam images from a machine and send that data to a remote server there it needs to be processed. I have no idea of where to start.Please help Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
2010 Dec 15
3
Spreadsheet gem character encoding
Hi everybody I''am working on a Rails app (using utf-8) in which I use the Spreadsheet gem to generate Excel files (.xls in my case). I ran into some issues when trying to write foreign characters to the generated Excel-File. The solution I found so far is to use Iconv like this: Iconv.conv(''ISO-8859-9'', ''utf-8'', some_string) This works fine with for
2009 Apr 14
6
About haml and ruby on rail
hi all, I am converting my view into HAML format i have done it with "Html2Haml" command, then I removed all the "- end" from haml code and my indentation is also correct,but now it shows following errors I have kept code of show.html.erb and show.html.haml in attachment. please help me I am not getting what exactly the error is? compile error