[Rails] Urgent multiple Requirements

2016-01-13 Thread will...@philinfosys.com
Hello, This is William from Philinfosys and We have an immediate requirement with our client where we have excellent hold and can close the positions pretty quick. Those who are interested please respond with your updated profile to my email id: will...@philinfosys.com 1. Ruby on Rails

[Rails] Re: Deploying Rails Engine to Heroku

2015-08-31 Thread Julia Will
You can place your engine into the vendor directory and then reference it in the Gemfile with the vendor path. Am Sonntag, 30. August 2015 14:08:04 UTC+2 schrieb L. Johan Nissen: > > Hi guys, > > I've got a Rails app that is dependent on a Rails Engine to function. I > would like know how to dep

Re: [Rails] Trouble with step 1.2.5 of Ruby on Rails tutorial, booting webrick and connecting to localhost:3000

2014-06-25 Thread Will Acheson
Antonio, Thanks for your response. That error code makes a bit more sense to me now, I appreciate your response. Here are the contents of my development.rb file Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the

[Rails] Trouble with step 1.2.5 of Ruby on Rails tutorial, booting webrick and connecting to localhost:3000

2014-06-24 Thread Will Acheson
s.rb:71:in `' from bin/rails:4:in `require' from bin/rails:4:in `' So after this I attempt to point my browser to the localhost server which I have supposedly created @ http://0.0.0.0:3000 At this point, I get the "webpage is not available" / "oops!

[Rails] rake db:migrate debacle

2013-10-29 Thread Will Amette
Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the 'rake db:migrate RAILS_ENV=development' command which may be obvious. Any ideas on how to fix this? Many thanks!!

[Rails] Re: ExtJS and Rails examples

2013-09-27 Thread Will Lee
Hello, I have made an example app using Rails4 + ExtJS 4.1. For the authentication, I used Devise. For authorization, I used the_role gem. The app is live at teamsheet.herokuapp.com The source code + install instruction can be found at https://github.com/weyewe/timesheet The app description c

[Rails] Re: heroku deployment

2012-12-03 Thread Will
I just use apps from different directories and they create new applications on heroku... no worries about public key etc. On Saturday, December 1, 2012 4:46:45 AM UTC-8, Bhimasen Routray wrote: > > i want to deploy two rails application in heroku..so how can i deploy two > application with one a

[Rails] Re: Beginner's:Problem with populating database

2012-06-05 Thread Will C
I'm not sure if this fixes your problem but anyone can correct me if I'm wrong -- I think when you call DataPair.all you get an array of all the DataPairs so essentially you should be doing this after: On Monday, June 4, 2012 8:02:15 PM UTC-4, Ruby-Forum.com User wrote: > > Hi, > > I want

[Rails] Re: Decrypt a admin password (with salt)

2011-08-10 Thread Will W.
md5(md5(md5(Password-With-Salt)))=2787551f694768be48c6944a3a1e6b6d -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsu

[Rails] Re: Localhost:3000 using IE on parallels

2011-03-21 Thread Robert Will
Hey Sebastian, I already had "http://"; in the URL. I just double checked again and still no joy? Thanks, Bobby -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send e

[Rails] Localhost:3000 using IE on parallels

2011-03-20 Thread Robert Will
Hey Guys, I am at my wits end over this issue. I have a rails app up and running using WEBrick on localhost:3000 from my mac, everything is fine. I would like to test my app in IE, so i am running parallels. To access localhost from IE on the virtual machine, i use MYCOMPUTERNAME.local in the a

Re: [Rails] Re: Scaffolding working...kinda

2010-08-13 Thread Will Merrell
Scott Le gendre wrote: So use it to get started, but then be prepared to do the work your self. Will, thanks for the comments and fully noted! I'm doing a tutorial through lynda.com titled "Ruby on Rails Essential Training". The tutorial is really great, but severel

Re: [Rails] Scaffolding working...kinda

2010-08-13 Thread Will Merrell
ich fields to create, and then it will include those fields in all of the files it produces, but with out those hints, it has no way of knowing what you wanted it to create. So use it to get started, but then be prepared to do the work your self. -- Will -- You received this message becau

[Rails] Re: Re: Generating RDoc for App

2010-07-21 Thread Will Clark
For anyone interested, I emailed Eric Hodel who mentioned that it is possible: === You'll need ## above your comment like: # This is the test model class Test < ActiveRecord::Base ## # Sort all tests by name named_scope :sort_by_name, :order => "name ASC" end See 'Metaprogrammed Methods' h

[Rails] Generating RDoc for App

2010-07-21 Thread Will Clark
I notice that when I run rake doc:app, that the named_scope declarations I have in my models aren't being included in the documentation. Is there a way to get named_scopes in the rdocs? Thanks, Will -- Posted via http://www.ruby-forum.com/. -- You received this message because yo

[Rails] Re: sqlite3.dll problem

2010-06-02 Thread Will Kriski
this link doesn't work Carlos Aguayo wrote: > http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite > > On Apr 12, 8:10 pm, Phillip Gawlowski -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Re: sqlite3.dll problem

2010-06-02 Thread Will Kriski
Just curious why it wouldn't be installed when you type gem install... and maybe helping to post where to get it since it doesn't come with the install Harry Seldon wrote: > @Phillip Gawlowski > Personnally, it did not work to put sqlite3.dll in > \ruby\lib\ruby\gems\1.8\gems\sqlite3-ruby-1.2.1-

[Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-23 Thread Will Prater
I've fixed my issues. Should have been using joins vs includes as there was really no joins happening with eager loading. On Apr 23, 11:14 am, Will Prater wrote: > Hi, > > Sure, here is the schema, and model files.  Let me know what you > think.  Why can't I get the :sel

[Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-23 Thread Will Prater
9Z\",\"updated_at\":\"2010-04-22T22:52:29Z\", \"sales_contact_id\":null,\"id\":1,\"enabled\":true,\"client_id\": 1,\"consultants\":[{\"start_date\":null,\"pay_rate\":\"40\", \"created_at\&q

[Rails] Re: Rails 3 associations extra attributes with lazy loading

2010-04-22 Thread Will Prater
More observations I've found. The Arel includes method does not seem to respect HMT :select joins. I'd prefer to use the "includes" lazy- laoding way, but cannot seem to get the extra attributes to come back. Both will return the Manager Model ===

[Rails] Rails 3 associations extra attributes with lazy loading

2010-04-22 Thread Will Prater
Hello, How can one get the extra attributes from the association table while using lazy loading like so: # I have a HMT (rails3) association and am using the includes method to prepare my queries. But Im not able to get at the extra fields in the association table this way. # Schema create_ta

[Rails] Re: Ruby existing database

2010-04-21 Thread Will Raffaele
Yes, I have installed Rails, as well as oracle_enhanced adapter and oci8 installed. I found an interesting link about using legacy databases: http://www.slideshare.net/napcs/rails-and-legacy-databases-railsconf-2009 I did: rails --database=oracle ora_t1 I took the advice of Craig White and

[Rails] Ruby existing database

2010-04-20 Thread Will Raffaele
Hello all from Ruby newbie, I'm sure this has been asked many times, but I can't find the answer. I would like to use Ruby for an existing database. It does not use id for the primary key, and the table name are not plural. The tables are already loaded and filled with data. How can I get CRUD

[Rails] determining where a function is called from

2010-03-14 Thread Will Merrell
estion, is there any way for the code in the model to discover where the function was called from so that that information can be made available to the function without having to explicitly pass it. Hope someone can help, -- Will -- You received this message because you are subscribed to the Goo

[Rails] Scaffold in Aptana error - wrong number of arguments(1 for 2) help?

2010-01-30 Thread Will
Hi all - I'm new to rails and programming in general. I installed Rails 2.3.5, using mac os x 10.5.8, running into problems using scaffold. I am using Aptana Radrails as my IDE. I was not encountering this problem when using Rails 1.2.6, which is odd because from what I can gather online the entry

Re: [Rails] Re: Re: database design question: building features

2010-01-26 Thread Will Merrell
Marnen Laibow-Koser wrote: Will Merrell wrote: Marnen Laibow-Koser wrote: That shouldn't be a problem. Broadly speaking, it is better to refactor a database tomorrow than to overdesign it today. I'm certainly not in favor of over design, which is why I suggested

Re: [Rails] Re: database design question: building features

2010-01-25 Thread Will Merrell
Marnen Laibow-Koser wrote: Will Merrell wrote: Taylor Strait wrote: I am trying to decide between two different database architectures for an application to manage properties. For capturing the property features, I have two options: a single model/table with all the features as fields

Re: [Rails] database design question: building features

2010-01-25 Thread Will Merrell
Taylor Strait wrote: I am trying to decide between two different database architectures for an application to manage properties. For capturing the property features, I have two options: a single model/table with all the features as fields, or a set of joined models - property, feature, feature da

[Rails] Re: RJS, select, & replace_html

2009-11-12 Thread Will Clark
Fred, that worked, I was just about to write my own method to handle it too. Thanks! - Will -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&q

[Rails] RJS, select, & replace_html

2009-11-12 Thread Will Clark
ss").each do |item| item.hide end it does. I know part of the problem is that replace_html needs the element id. But how, in RJS, would I do that? Thanks Will -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because

[Rails] Re: MySQL Installation Issues

2009-11-01 Thread Will Cain
Greg Donald wrote: > cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 > gem install mysql -- > --with-mysql-config=/usr/local/mysql/bin/mysql_config > -- > Greg Donald > http://destiney.com/ Worked for me too. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---

[Rails] Re: paperclip is not saving the files

2009-09-03 Thread Will Merrell
ired. (I remember that it is not documented.) -- Will --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com

[Rails] Re: Time.now and 1.day.ago style comparison

2009-07-30 Thread Will
Great thanks! That's working nicely. Will On Jul 30, 12:42 pm, Philip Hallstrom wrote: > On Jul 30, 2009, at 12:38 PM, Will wrote: > > > Hi, > > > I'm trying to use the ActiveSupport Time extension but running into a > > bit of trouble with the time z

[Rails] Time.now and 1.day.ago style comparison

2009-07-30 Thread Will
;t seem to use the .ago method in the comparison because it's using UTC time, whereas Time.now has my current time zone (-0700). will$ script/console Loading development environment (Rails 2.3.2) >> Time.now => Thu Jul 30 12:16:30 -0700 2009 >> 1.hour.ago => Thu, 30 Jul 2009 1

[Rails] Re: Attachment_fu - watermark tmp file before saved to S3

2009-07-23 Thread Will
result.write(temp_path) end end There are some other bits and pieces you have to add in attachment_fu.rb to register the new callback method as well, but I copied this from the callbacks already there. Just tested this on my host (heroku) and it's watermarking happily and storing on S3 :

[Rails] Attachment_fu - watermark tmp file before saved to S3

2009-07-23 Thread Will
termark before the main image is saved to :s3 Or perhaps I'm approaching this in the wrong way? I'm reluctant to start modifying the 'write_to_temp_file' method in the attachment_fu plugin. Any help or advice anyone has would be much appreciated. Many thanks, Will --~--~--

[Rails] Ignore Empty File Uploads with attachment_fu (Multiple files)

2009-07-23 Thread Will
ones present. Any help or advice would be much appreciated. Many thanks, Will # --- photo.rb class Photo < ActiveRecord::Base belongs_to :album has_attachment :content_type => :image, :storage => :file_system,

[Rails] Re: Reading AR validations at runtime

2009-07-15 Thread Will Grundler
Thanks Michael! That's a big help. Michael Schuerig wrote: > On Wednesday 15 July 2009, Will Grundler wrote: >> Does anyone, by chance, know how to obtain a list of all the defined >> activerecord validations at runtime? > > http://rubyforge.org/projects/valirefl/ >

[Rails] Reading AR validations at runtime

2009-07-14 Thread Will Grundler
Does anyone, by chance, know how to obtain a list of all the defined activerecord validations at runtime? In other words, I'd like to query a model for all the fields that are unique, or required. I found this: read_inheritable_attribute(:validate), but it seems to be deprecated in later version

[Rails] Nested Models & Error Validation

2009-05-13 Thread Will Clark
I have two models: User and MemberProfile class MemberProfile < ActiveRecord::Base belongs_to :user validates_presence_of :name #... end class User < ActiveRecord::Base has_one :member_profile validates_presence_of :email accepts_nested_attributes_for :member_profile #... end My vi

[Rails] Re: form_for, partials, and link_to_remote

2009-04-01 Thread Will Clark
Thanks. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe fr

[Rails] form_for, partials, and link_to_remote

2009-03-31 Thread Will Clark
I'm using Rails 2.3.2 with a form to edit a Page object: <% form_for([:admin, @page], :class => "form") do |f| %> #... <% end %> In that form I'm also using fields_for/nested models. I want the ability in the form to have a link_to_remote that calls a partial that has the fields_for related to t

[Rails] Re: rake:db:prepare Mysql::Error: #42000BLOB/TEXT column ' used in key specification without a length

2009-03-10 Thread Will
I was able to create another migration to drop that database and create it again with no indexes on these text fields. Once I did this all appears to be well. Thanks Will On Mar 9, 5:52 pm, bill walton wrote: > Hi Will, > > On Mon, 2009-03-09 at 15:42 -0700, Will wrote: > > Wh

[Rails] rake:db:prepare Mysql::Error: #42000BLOB/TEXT column ' used in key specification without a length

2009-03-09 Thread Will
I have a test environment running rails 1.2.3. I am just starting to introduce testing into this project. When I run a rake db:prepare. I see this message "Mysql::Error: #42000BLOB/TEXT column 'short_description' used in key specification without a key length: CREATE INDEX 'short_description' o

[Rails] Create migration from existing database

2009-03-05 Thread Will
I'm looking to see if anyone knows of a tool that can be used in ruby to autogenerate a rails migration from an existing database that comes from a non ruby project. I know I can do this with rake db:backup with a rails project, but does anyone know if its possible outside of this realm. I looki

[Rails] activemerchant + activesupport install/dependency issues

2009-02-23 Thread will....@gmail.com
Hi all: Saw the awesome railscasts episode on activemerchant and am going to give it a try, but keep running into this install problem that I can't figure out: after installing activemerchant as a gem, my rake keep aborting with this error: /Library/Ruby/Site/1.8/rubygems.rb:149:in `activate':

[Rails] Re: Should I be using UTF-8 mysql tables/database?

2008-12-08 Thread Will
Rails 2.x handles all text as UTF-8 by default. My question is if mysql should be utf-8 as well. Is there any benefit leaving the mysql database as latin1? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rail

[Rails] Should I be using UTF-8 mysql tables/database?

2008-12-07 Thread Will
Hi, Should I be using mysql tables/daatbase encoded in UTF-8 instead of the default latin1? What are the benefits of one vs. the other? There is the possibility of needing to support other languages in the future. We currently are running the latest ruby 1.8 and rails 2.1 (will probably

[Rails] Re: selectedIndex update

2008-11-23 Thread Will
ECTED]> wrote: > On 22 Nov 2008, at 23:02, Will wrote: > > > > > The problem is that is the collection select object is repeated in a > > table of objects so this ID appears multiple times.  To deal with it I > > created a collection_select object   > >

[Rails] Re: selectedIndex update

2008-11-22 Thread Will
x=whatever, but the prototype $() function does not seem to want to take a variable. It seems to work with a static id, but not a variable one. Any ideas how this could be done? Thanks Will On Nov 21, 10:26 am, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On Nov 21, 3:19 pm, Will <[E

[Rails] selectedIndex update

2008-11-21 Thread Will
I have a table with a collection select object that I am looking update the selectedIndex of using links on the page <%= collection_select(:machine, :user_id, @users, :id, :fullname, {:include_blank => true}, html_options = {:onChange => remote_function (:update => "ajaxmessage", :url => {:acti

[Rails] Re: Passing an array into controller

2008-09-16 Thread Will
urn paramvar; } It returned - plans[]=53&plans[]=52&plans[]=42 Thanks again. Will On Sep 15, 6:05 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On 15 Sep 2008, at 23:26, Will wrote: > > > > > I am trying to pass and array from an AJAX Javascript function to a

[Rails] collection_select reseting selection whenever page refreshes

2008-09-08 Thread Will
I have a collection_select dialog that I have for selecting Users on a page. I am wanting the selection to remember and display the last selected user from the database. Every time I refresh the page it is going back to its default value even though the data has changed. Is there a way to tell