On Jul 11, 2014, at 12:05 AM, Anu Sebastian wrote:
pls help me to find a better soln
You're kind of stuck with what S3 allows you to do here. You can have one of
the following:
1. The ugly URL and private files.
2. The plain URL and public files (the URL doesn't expire, in other words).
3.
I have created few models which are shown below.
Base models are TransactionType and TransactionItem
ExpenseType and IncomeType derives from TransactionType.
Expense and Income derives from TransactionItem.
class TransactionType ActiveRecord::Base
scope :expense_types, - { where(tran_type:
Hello everyone,
I'd like to find a half-time rails development project that starts right
away! I've just finished a very long-term contract, but wanting to work
half-time right now (half time on my own project). I'm looking for a good
group of people to work with, fun project, ideally something
I need some code refactored as it is very ugly.
memberships = customer.companies.collect(:name).sort().join(',')
for membership in customer.memberships
membership.membership_roles.each do |membership_role|
cust_roles membership_role.role.name + ,
end
end
On 11 July 2014 22:26, Jan Yo li...@ruby-forum.com wrote:
I need some code refactored as it is very ugly.
memberships = customer.companies.collect(:name).sort().join(',')
for membership in customer.memberships
membership.membership_roles.each do |membership_role|
Colin Law wrote in post #1152183:
On 11 July 2014 22:26, Jan Yo li...@ruby-forum.com wrote:
Here's the active record relation:
customer has many memberships
membership_role belongs to membership and role (link table)
Is there a more compact, cleaner way to write this?
Specify membership
Hi. I am trying to figure out how to install and run Ruby on Rails from
the ruby-lang site.
I installed the 1.9.3 version.
It tells me to install it to C:\oss\ruby
I am supposed to unzip Koans and go to advanced settings and go to
variables. I am supposed to insert a new setting, but it does
7 matches
Mail list logo