Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8258511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:33:45+00:00 2026-06-08T02:33:45+00:00

I have a semi-complex application i’m building that has various wizards and screens. I

  • 0

I have a semi-complex application i’m building that has various wizards and screens. I would like to do server-side validation but not use the built in validation in rails. Basically, I need to do different types of validation on the same type of object, in different contexts. In one case, i may validate 3 out of 5 of the object’s attributes. In another only one, in a third all of them. I don’t really want to have a bunch of :if => {} lambdas in my models’ validations either. That gets ugly as the number of contexts grows.

Is there some alternative validation framework for rails that can do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:33:47+00:00Added an answer on June 8, 2026 at 2:33 am

    I have the same need. You might have a look at Verity and Semantic-Attributes. Both have their own DSL for defining validations. Semantic Attributes depends on rails, I think.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a semi-melted data frame that looks like this: head(final_melt) Group Source variable
I have a django application which has one main table/model which references various 'lookup'
I have a BackgroundWorker that runs a lengthy and semi-complex task. In this BackgroundWorker,
I have a semi-large web application that we run locally and I need to
I have a script that executes database queries, and I use semi-colons + new
I'm building a semi-elaborate RadGrid where within my NestedViewTemplate I want to have a
I'm looking for information extraction libraries where I can have semi structured information that
I have a semi xml formatted file that contains line with the following format:
I have a semi-complicated problem and hoping that someone here will be able to
I have some (semi) complex conditional formatting to do in Excel. I can get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.