Tagged Questions
0
votes
1answer
69 views
Online stores service design
I am designing an online store service app with rails. Everyone who wants to make his/her own store can do it with this app by just signing up and choosing a domain. I want to make it as SaaS as it ...
2
votes
0answers
216 views
How difficult would it be to port Rails to PHP 5.4? [closed]
I have no intention or desire to do this, but out of idle curiosity, what would be some of the "gotchas" if one were to want to port Rails to PHP 5.4? Would it be possible with a fairly straight ...
-1
votes
1answer
261 views
Simple game using Ruby on Rails [closed]
I want to create a simple game like tic-tac-toe or connect4 or something like that using Rails. I have a (very) basic idea of how to write a Rails app with regular html elements, but I don't really ...
2
votes
3answers
177 views
Setting up a simple Ruby\Rails environment
I am coming from a .NET background and beginning my journey into the Mac OSX\Ruby\Rails environment.
A lot of the resources I have found such as this one have between 5-10 steps for setting up a ...
2
votes
1answer
262 views
What is a closure and how is it implemented in Ruby?
In the context of the Ruby programming language, what is a closure and when do you use one? What are the uses for it in Rails?
-2
votes
1answer
138 views
Where can I find out about basic python usage, cli, editor and testing? [closed]
I'm coming from Ruby / Ruby on Rails to Python.
Where can I find or find resources about:
The command prompt, what is python's version of 'irb'
info and recommendations on editors, plugins and IDE's
...
1
vote
2answers
174 views
What is faster and preferable way for variable assignment in ruby? [closed]
I am a RoR developer and want to clarify some doubt about ruby variable assignment.
In ruby we have two ways for variable assignment.
str, arr, num = "Hi", [1, 2], 3
and
str = "Hi"
arr = [1, 2]
...
2
votes
2answers
258 views
Should I prefer instance methods over class methods in Ruby?
I'm working on a rails application, and I've been pulling functionality out of my rails code and into pure ruby classes in lib/. I've found myself often writing classes like this:
class ...
1
vote
2answers
650 views
Is it worth converting a Django project to Rails?
I have a project I shelved a while back- it was essentially a working web app built in django but I stopped working on it to work on something else.
I plan on starting it up again in my spare time, ...
0
votes
2answers
238 views
How do I read API documentation?
I've been trying to read through the RoR API to try to learn things that the tutorial missed, and I haven't been able to follow it at all. The only time I've read documentation was when I needed to ...
2
votes
3answers
161 views
Ruby/RoR development: desktop or server
Our company has started development of own systems "in-house". We already got couple of developers, who will be responsible for writing code in Ruby/RoR.
We are currently discussing about ...
2
votes
6answers
1k views
How much Ruby should I learn before moving to Rails?
Just a quick question..
I can never get a definitive answer when googling this, either. Some people say you can learn Rails without knowing any Ruby, but at some point you'll run into a brick wall and ...
1
vote
3answers
162 views
If I use Ruby Migrations, do I have to use the rest of Ruby on Rails?
I'm currently trying to come up with a database migrations strategy for my organization. This includes getting the database scripts into source control, managing versioning, managing releases to QA / ...
0
votes
1answer
131 views
In rails, what defines unit testing as opposed to other kinds of testing [closed]
Initially I thought this was simple: unit testing for models with other testing such as integration for controller and browser testing for views.
But more recently I've seen a lot of references to ...
1
vote
1answer
366 views
rails fake data, considering switch from faker to forgery, any advantages or pitfalls?
With Ruby on Rails I've usually used Forgery for generating dummy data for testing.
I've noticed recently that several clients and tutorials are using Faker
They both seem fairly similar in use ...