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
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
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
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!
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!!
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
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
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
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
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
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
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
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
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
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
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.
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-
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
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
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
===
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
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
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
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
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
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
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
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
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
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
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/.
--~--~-~--~~~---
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
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
;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
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 :
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
--~--~--
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,
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/
>
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
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
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
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
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
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
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
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 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
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
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
> >
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
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
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
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
53 matches
Mail list logo