Hi all i am trying analyze which DataBase is good for ROR if the
application is huge. After goggling i found the following DB used in ROR
1) MONGO DB
2) MYSQL
3) POSTGRESQL
4) SQLITE
5) ORACLE
apart from above list any other DB are used for ROR and my Questions is
from the above which DB is
Rails 3.1.3
latest formtastic
My app requires dynamic select forms, so I have models
class Departure ActiveRecord::Base
has_many :airlines
has_many :destinations, :through = :airlines
end
class Destination ActiveRecord::Base
has_many :airlines
has_many :departures, :throught =
Oracle is the best option for what you want. If you can afford it (because
it is a bit expensive) you should go for Oracle but if you want a free
solution then I would recommend MySQL.
On Thursday, September 13, 2012 11:08:11 AM UTC+5, keerthi priya wrote:
Hi all i am trying analyze which
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
You received this message because you are subscribed to the Google Groups Ruby
on
On 13 September 2012 07:10, Soichi Ishida li...@ruby-forum.com wrote:
Rails 3.1.3
latest formtastic
My app requires dynamic select forms, so I have models
class Departure ActiveRecord::Base
has_many :airlines
has_many :destinations, :through = :airlines
end
class Destination
Hi Keerthi,
We have been developing very large web applications with MongoDB from
the past 1 year. It's really cool and very easy to learn.
Give it a try you can find it very interesting and easy to use
Thanks,
Rajesh.
On Thursday, September 13, 2012 11:38:11 AM UTC+5:30, keerthi priya
On 13 September 2012 08:53, Saravanan P saravana...@shriramits.com wrote:
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
I think you may
Thanks for the reply.
This is from my .log file
Started GET / for 122.183.133.1 at 2012-09-13 07:38:52 +
Processing by HomeController#index as HTML
[1m [36mProduct Load (1.3ms) [0m [1mSELECT id, product_type, name,
slug, short_description, price, farm_name, lbcount, unit FROM
On Thu, Sep 13, 2012 at 6:07 PM, Saravanan P saravana...@shriramits.comwrote:
Thanks for the reply.
This is from my .log file
Started GET / for 122.183.133.1 at 2012-09-13 07:38:52 +
Processing by HomeController#index as HTML
[1m [36mProduct Load (1.3ms) [0m [1mSELECT id,
Rajesh, I have heard that MongoDB have many limitations. Many of the
servers don't support it. Also many of the gems don't have support for it
as well. Most gems support sqlite or mysql.
On Thursday, September 13, 2012 1:01:29 PM UTC+5, Rajesh reddy wrote:
Hi Keerthi,
We have been
Well, it's been a lovely few (four, I think?) years on the RailsTalk
list, but I'm unsubscribing now (and I didn't want to just fade out
the side-doors like so many names before).
I'm still working with Rails (and will continue to while the contracts
are around), but I can't take the volume and
I provide all keys but not working. In development working well
*In my model*
has_attached_file :crop_content, :styles = {:thumb =
89x75#,:crop_content=160x160# },
:path = assets/crops/contents/:id/:style/:basename.:extension,
:storage = s3,
#:s3_headers = { 'Cache-Control' =
Hi All,
I have a requirement.
A person will sign up to my site and send invitations to some users. The
person who sign-up will be taken as admin and will be stored in admin
table.
Other users who get invitations through mail will be stored in user
table.
I used devise for admin sign-up.
Now
#error
ActionView::Template::Error (undefined method `airline' for
#Plan:0x01037e66f8):
3: % if !@airlines.blank? %
4: %= f.input :airline, :collection=airlines.collect{ |s|
[s.company,s.id]} %
5: % else %
6: %= f.input :airline, :collection=[] %
On 13 September 2012 11:36, angel david li...@ruby-forum.com wrote:
Hi All,
I have a requirement.
A person will sign up to my site and send invitations to some users. The
person who sign-up will be taken as admin and will be stored in admin
table.
Other users who get invitations through
Can i get a brief explanation on Do's and Don’t for the each DB in my list
. i mean any link where i can get all those informations.
On Thu, Sep 13, 2012 at 1:47 PM, Kashif Umair Liaqat
kulking...@gmail.comwrote:
Rajesh, I have heard that MongoDB have many limitations. Many of the
servers
Google is the best option for this purpose. All the databases have a lot of
pros and cons which cannot be covered here. You can google for pros and
cons of every database.
On Thursday, September 13, 2012 5:28:46 PM UTC+5, keerthi priya wrote:
Can i get a brief explanation on Do's and Don’t
Hello Ir, please provide chaqnges in .yml file...for Mysql...'
I have cretaed MySql datbase and now i want to connect my MySql DB on
rails...
--
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
when you are trying to create a app just add these line -d mysql you will
get the yml according to mysql and change the username and password
according to your mysql password.
On Thu, Sep 13, 2012 at 6:23 PM, abhijit m. li...@ruby-forum.com wrote:
Hello Ir, please provide chaqnges in .yml
im having trouble loading classes and modules in my lib folder, i've google
for loading lib folder +rails and come across one answer which is reflected
in my code ( the config/application.rb ) http://pastie.org/4708688, but
still i get uninitialized constant error
--
You received this
Seeking DevOps / Chef hackers for LivingSocial. Several positions are
remote or can be based out of HQ in DC-USA or any international office.
Contract and direct hire positions available.The brief skinny:
*Our Senior Operations Engineer will be working to improve the speed,
It all depends on what you need. There is no use this DB for huge
applications. Definitely don't use SQLite in production as it doesn't
scale.
MySQL - can scale well if used correctly and was used by Twitter for a long
time
PostgreSQL - is currently on the rise and a lot of gems start to support
Hello Everyone,
I m looking for parsing doc/docx file in ruby on rails.
I have use File.open('filename','r'), but it shows special character
instead of the content of file .
Thanks.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
I'd suggest postgresql, for the sole reason that postgresql supports
transactional migrations, which saves so many headaches and possibly
undoing corrupted database schemas (in the future). It's also open source
as opposed to Oracle - if you get stuck with a problem on the latter, you
might be
Hi guys,
I am having trouble getting to counter cache to work properly with a
many-to-many relationship. What I have done is:
rails g scaffold post title:string body:text
rails g scaffold tag name:string taggings_count:integer
rails g model tagging post_id:integer tag_id:integer
Then I created
TAPE is a dynamic and innovative company that supports its clients with
advanced technological and management tools required to succeed in today’s
fast-paced world.
We develop innovative solutions to critical systems and high-level security
challenges while focusing quality IT and
Signpost https://www.signpost.com/
New York, NY
We're looking for a Software Engineer with experience 1-5 years Ruby on
Rails Experience, proficient in SQL (Preferably PostgreSQL), and with a strong
ability to integrate software with multiple partners through feeds and
APIs. You’ll have the
On Thursday, September 13, 2012 1:28:11 AM UTC+1, Jeffrey Jones wrote:
Sorry I was talking out of my arse in the last post. Correct version:
I have done various testing using MRI and JRuby with config.threadsafe!
and it appears to work in all the tests I have thrown at it, but that gives
On Sep 13, 2012, at 7:35 AM, rovin varshney wrote:
Hello Everyone,
I m looking for parsing doc/docx file in ruby on rails.
I have use File.open('filename','r'), but it shows special character
instead of the content of file .
If all you want is the text content of the files, you
On 13 September 2012 14:14, keerthi priya emailtokeerthipr...@gmail.com wrote:
when you are trying to create a app just add these line -d mysql you will
get the yml according to mysql and change the username and password
according to your mysql password.
If you have already created the app
I want to be able to change one attribute of a link_to to be what is the
current selection of the collection_select. And needless to say I can't
quite figure it out.
app/views/tasks/show.html.erb
Who would you like to assign this task to?br /
%= link_to 'Myself', :controller = 'task_queues',
Sorry to post again here, but I recently changed the project name on
github so that the name better reflected the purpose of the library:
https://github.com/stevenmtwhunt/tmpl.loader
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
On Sep 13, 2012, at 10:26 AM, Colin Law wrote:
On 13 September 2012 14:14, keerthi priya emailtokeerthipr...@gmail.com
wrote:
when you are trying to create a app just add these line -d mysql you will
get the yml according to mysql and change the username and password
according to your
i don't think error be in my amazon s3 access key. Because as
i mentioned earlier some of page was running and that pages having s3
images. May be some other error... :(
please help
On Thu, Sep 13, 2012 at 2:49 PM, Saravanan P saravana...@shriramits.comwrote:
I provide all keys but not
On Fri, Sep 14, 2012 at 1:01 AM, Saravanan P saravana...@shriramits.comwrote:
i don't think error be in my amazon s3 access key. Because as
i mentioned earlier some of page was running and that pages having s3
images. May be some other error... :(
I'm pretty sure it has something to do with
ok if my s3_credentials is problem mean, i can able to see app-logo which
stored in s3 in my about-us page.
and for
%img{:alt = product,:src=#{i.image.url(:products)}, :width = 329 ,
:height =251}
look at the class of whatever 'i' is, particularly the s3_credentials
option you passed for that
On Fri, Sep 14, 2012 at 2:00 AM, Saravanan P saravana...@shriramits.comwrote:
ok if my s3_credentials is problem mean, i can able to see app-logo which
stored in s3 in my about-us page.
and for
%img{:alt = product,:src=#{i.image.url(:products)}, :width = 329
, :height =251}
look at the
On 13 September 2012 17:00, Saravanan P saravana...@shriramits.com wrote:
ok if my s3_credentials is problem mean, i can able to see app-logo which
stored in s3 in my about-us page.
and for
%img{:alt = product,:src=#{i.image.url(:products)}, :width = 329 ,
:height =251}
Should that be
On 13 September 2012 17:30, Colin Law clan...@googlemail.com wrote:
On 13 September 2012 17:00, Saravanan P saravana...@shriramits.com wrote:
ok if my s3_credentials is problem mean, i can able to see app-logo which
stored in s3 in my about-us page.
and for
%img{:alt =
So for the convince of all I have posted my code on gist. I am having
issues using the ancestry gem to nest comments. the issue is that said
comment does not nest under the parent comment, instead it is added to
the end of the comments list.
I have a relationship of tasks to comments, where a
On 13 September 2012 19:22, Kyle A. li...@ruby-forum.com wrote:
So for the convince of all I have posted my code on gist. I am having
issues using the ancestry gem to nest comments. the issue is that said
comment does not nest under the parent comment, instead it is added to
the end of the
Colin Law wrote in post #1075895:
On 13 September 2012 19:22, Kyle A. li...@ruby-forum.com wrote:
So for the convince of all I have posted my code on gist. I am having
issues using the ancestry gem to nest comments. the issue is that said
comment does not nest under the parent comment, instead
I have an old rails project that is currently in Rails 2.3
I'm about to undertake updating the project to Rails 3.2.
The old project's production server is on mysql 5.0 and has a medium
size database (not huge, but certainly big enough that I need to keep
the data after I upgrade the app).
If I
On 13 September 2012 21:28, Kyle A. li...@ruby-forum.com wrote:
Colin Law wrote in post #1075895:
On 13 September 2012 19:22, Kyle A. li...@ruby-forum.com wrote:
So for the convince of all I have posted my code on gist. I am having
issues using the ancestry gem to nest comments. the issue is
On 13 September 2012 21:41, Jeff Pritchard li...@ruby-forum.com wrote:
I have an old rails project that is currently in Rails 2.3
I'm about to undertake updating the project to Rails 3.2.
The old project's production server is on mysql 5.0 and has a medium
size database (not huge, but
Colin Law wrote in post #1075904:
On 13 September 2012 21:28, Kyle A. li...@ruby-forum.com wrote:
My code is posted here: https://gist.github.com/3716160
Colin
render(comment) + content_tag(:div, nested_comments(sub_comments),
{ #TreeNode id: 100018, name: Stinky, ancestry: nil
{
On 13 September 2012 21:51, Kyle A. li...@ruby-forum.com wrote:
Colin Law wrote in post #1075904:
On 13 September 2012 21:28, Kyle A. li...@ruby-forum.com wrote:
My code is posted here: https://gist.github.com/3716160
Colin
render(comment) + content_tag(:div,
Colin Law wrote in post #1075905:
On 13 September 2012 21:41, Jeff Pritchard li...@ruby-forum.com wrote:
db over from the old server, or if there will be a need for some sort of
a migration?
Any info on what I'm up against there will be much appreciated.
In that situation I would use
Colin Law wrote in post #1075908:
On 13 September 2012 21:51, Kyle A. li...@ruby-forum.com wrote:
I am lost.
Yes. I am 100% sure I understand the full usage of the gem and have
tripple checked documentation, stack over flow and other blogs, its not
an issue with the gem, its an issue with my
So I have updated the gist https://gist.github.com/3716160 to show more
information
--
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
Good day, Mr. Wolfram!
It sounds like a very exciting start-up company, so it would be huge
pleasure to take part at your project as a partner. My name is Linas and
I represent IT company, that was established in 2005, Lithuania. We are
the team of 7 people who grow their knowledge in internet
class A
def initialize
setup_b
setup_c
end
def b_and_c
#{@b} and #{@c}
end
private
def setup_b
@b = 'b'
end
def setup_c
@c = 'c'
end
def setup_d
@d = 'd'
end
end
a = A.new
a.instance_variable_get(@b) # = b
a.instance_variable_get(@c) # = c
1)
class Dog
module Cat
puts 'hello'
end
end
--output:--
hello
2)
Do all the methods of the module get copied over to base
Never.
3) I don't know.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
keerthi priya wrote in post #1075820:
when you are trying to create a app just add these line -d mysql you
will
get the yml according to mysql and change the username and password
according to your mysql password.
Thanks ...changing user n apssword is not issue...but it indirectly
creating
54 matches
Mail list logo